mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
drm/amdgpu: Allocate enough space for hpd info on gfx11
MES in newer versions on gfx11 and gfx12 can support queue/pipe reset via MES. Signed-off-by: Amber Lin <Amber.Lin@amd.com> Reviewed-by: Jesse Zhang <jesse.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -217,7 +217,7 @@ int amdgpu_mes_init(struct amdgpu_device *adev)
|
||||
if (r)
|
||||
goto error_doorbell;
|
||||
|
||||
if (amdgpu_ip_version(adev, GC_HWIP, 0) >= IP_VERSION(12, 1, 0)) {
|
||||
if (amdgpu_ip_version(adev, GC_HWIP, 0) >= IP_VERSION(11, 0, 0)) {
|
||||
/* When queue/pipe reset is done in MES instead of in the
|
||||
* driver, MES passes hung queues information to the driver in
|
||||
* hung_queue_hqd_info. Calculate required space to store this
|
||||
|
||||
Reference in New Issue
Block a user