]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix up HUBBUB hw programming for VM
authorJun Lei <jun.lei@amd.com>
Mon, 3 Jun 2019 12:13:12 +0000 (08:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:08 +0000 (14:18 -0500)
commit6f98ff357ace10e1fa4a985e6cdf82a153f6ba51
treec2133a98a7c498d87d22754dec3c62fc7c8ae2f3
parent7c803a46515ff3c12d67ba5421d8630ff3f5aff7
drm/amd/display: fix up HUBBUB hw programming for VM

[why]
Some values were not being converted or bit-shifted properly for
HW registers, causing black screen

[how]
Fix up the values before programming HW

Signed-off-by: Jun Lei <jun.lei@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h