]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix hpd bo size calculation error
authorKevin Wang <kevin1.wang@amd.com>
Wed, 25 Mar 2020 09:06:14 +0000 (17:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Mar 2020 16:26:14 +0000 (12:26 -0400)
commit74395035782a00ef1f2fbaf6895e76b850364e85
tree14a7c9d0461c1a733932dbcd6f4bd439cefa359f
parent5c8276f899263ef9ea9e53ff0bc13222c848427d
drm/amdgpu: fix hpd bo size calculation error

the HPD bo size calculation error.
the "mem.size" can't present actual BO size all time.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <Christian.Koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c