Files
linux/drivers/gpu/drm
Asad Kamal a101cfbd27 drm/amdgpu: guard zero divisors in soc_v1_0 partition code
Abort driver load when num_mem_partitions is zero since operation is
unreliable without valid memory partition info. Skip absent resources
in soc_v1_0_get_xcp_res_info() to avoid divide-by-zero on firmware-
reported zero instance counts.

v2: Remove redundant checks (Lijo)
v3: Return error instead when num_mem_partitions is zero (Lijo)

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-07-01 11:08:56 -04:00
..
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-04-07 12:36:31 +02:00
2026-03-12 07:23:23 -07:00