]> 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)
commit844acf297a02aca397b25702376249dd693c902c
tree14a7c9d0461c1a733932dbcd6f4bd439cefa359f
parent2f79214e9b9d263b6bf487d5f401bc6d6e336201
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