Icenowy Zheng
3806a8c647
drm/amdgpu: fix SI failure due to doorbells allocation
...
SI hardware does not have doorbells at all, however currently the code
will try to do the allocation and thus fail, makes SI AMDGPU not usable.
Fix this failure by skipping doorbells allocation when doorbells count
is zero.
Fixes: 54c30d2a8def ("drm/amdgpu: create kernel doorbell pages")
Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-09 17:59:29 -04:00
..
2023-10-09 17:59:29 -04:00
2023-08-30 13:34:34 -07:00
2023-07-31 20:06:52 +02:00
2023-06-08 09:04:10 -07:00
2023-07-28 17:08:28 +02:00
2023-08-10 08:44:34 +02:00
2023-08-30 13:34:34 -07:00
2023-08-29 19:56:11 +02:00
2023-07-17 15:37:57 +02:00
2023-08-18 06:42:12 +10:00
2023-08-08 09:35:19 +09:00
2023-06-08 09:04:10 -07:00
2023-07-31 20:06:52 +02:00
2023-07-04 12:05:08 +02:00
2023-07-21 09:12:43 +02:00
2023-07-09 17:00:09 +02:00
2023-07-17 15:37:57 +02:00
2023-10-04 09:00:37 -04:00
2023-08-24 07:26:06 +10:00
2023-07-21 09:12:43 +02:00
2023-03-14 17:07:48 +01:00
2023-07-21 09:12:43 +02:00
2023-07-21 09:12:43 +02:00
2023-08-04 13:31:32 +08:00
2023-08-07 22:58:52 +02:00
2023-08-15 12:07:19 +10:00
2023-09-20 15:44:31 +02:00
2023-06-23 10:33:00 +02:00
2023-08-30 13:34:34 -07:00
2023-07-21 09:12:43 +02:00
2023-10-04 00:10:18 +02:00
2023-07-31 20:07:18 +02:00
2023-08-24 07:26:06 +10:00
2023-08-30 13:34:34 -07:00
2023-07-21 09:12:43 +02:00
2023-08-24 07:26:06 +10:00
2023-09-12 08:53:30 +02:00
2023-08-14 13:47:30 +03:00
2023-08-24 07:26:06 +10:00
2023-07-11 09:23:20 +02:00
2023-07-31 10:07:31 +02:00
2023-07-21 09:12:43 +02:00
2023-07-21 09:12:43 +02:00
2023-07-21 09:12:43 +02:00
2023-08-30 19:53:39 -07:00
2023-07-31 20:07:18 +02:00
2023-09-30 12:13:05 -03:00
2023-07-29 21:25:18 +02:00
2023-06-08 10:34:57 -07:00
2023-09-14 14:00:51 +02:00
2023-08-25 06:28:33 +10:00
2023-08-07 22:58:01 +02:00
2023-07-29 21:01:27 +02:00
2023-07-27 13:01:27 -03:00
2023-01-18 09:25:32 +01:00
2023-08-30 13:45:05 -07:00
2023-03-20 08:14:27 -03:00
2023-09-21 00:11:24 +03:00
2023-09-14 07:48:19 -03:00
2023-08-23 13:20:04 -04:00
2023-07-21 09:12:43 +02:00
2023-08-02 01:36:54 +03:00
2023-04-16 14:17:55 +02:00
2023-07-28 11:43:32 +02:00
2023-01-19 09:16:04 +01:00
2023-06-23 16:34:25 +02:00
2023-07-21 09:53:30 -07:00
2023-01-10 16:14:13 +01:00
2023-07-29 20:56:42 +02:00
2023-08-02 10:05:01 +02:00
2023-08-09 09:46:05 -04:00
2023-01-13 09:22:02 +01:00
2023-07-13 15:55:58 +02:00
2023-07-11 14:02:01 +02:00
2023-09-14 14:00:51 +02:00
2023-01-13 09:22:02 +01:00
2022-11-05 17:12:04 +01:00
2022-10-26 09:53:56 +03:00
2022-09-13 14:38:33 +03:00
2023-08-02 10:05:01 +02:00
2023-02-27 02:58:38 +03:00
2023-07-17 10:40:07 +02:00
2023-02-10 12:19:27 +01:00
2022-11-16 14:54:44 +02:00
2023-08-24 07:26:06 +10:00
2023-09-07 10:30:12 +02:00
2023-07-25 19:21:03 +02:00
2023-07-31 20:07:18 +02:00
2023-07-31 20:07:24 +02:00
2023-05-24 18:03:30 +02:00
2023-01-23 15:02:41 +01:00
2022-11-23 20:34:46 +01:00
2022-12-22 14:58:21 -03:00
2022-12-05 13:35:37 +01:00
2023-02-23 17:09:35 -08:00
2023-07-28 11:46:02 +02:00
2023-08-24 07:26:06 +10:00
2022-12-06 12:54:14 +01:00
2023-05-08 09:16:18 +02:00
2023-07-24 15:44:47 +02:00
2023-08-24 14:27:14 +02:00
2023-07-20 12:01:03 +02:00
2023-01-03 18:20:57 +01:00
2023-07-20 12:01:03 +02:00
2023-01-18 09:25:30 +01:00
2023-07-24 15:44:47 +02:00
2023-08-02 13:18:07 +02:00
2023-07-24 15:44:47 +02:00
2022-12-22 14:58:55 -03:00
2023-06-23 16:38:00 +02:00
2023-02-20 14:56:52 +01:00
2022-09-20 09:42:31 +02:00
2023-01-27 09:39:21 +01:00
2023-10-03 12:06:08 +01:00
2023-08-01 07:38:13 -07:00
2023-07-29 21:25:16 +02:00
2023-01-04 16:12:15 +00:00
2023-06-26 11:08:46 +02:00
2022-09-24 15:02:02 +02:00
2023-08-23 17:14:37 -04:00
2022-10-24 09:27:04 +02:00
2022-12-05 13:35:37 +01:00
2023-03-01 17:18:19 +01:00
2023-07-24 15:44:47 +02:00
2023-06-23 15:54:00 +02:00
2023-04-04 22:38:03 +02:00
2023-02-09 16:51:39 -08:00
2023-01-19 14:16:55 +01:00
2023-09-18 10:52:55 +02:00
2023-07-20 05:15:53 +02:00