]> asedeno.scripts.mit.edu Git - linux.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)
commitb48935b3bfc1350737e759fef5e92db14a2e2fbb
treec2133a98a7c498d87d22754dec3c62fc7c8ae2f3
parent125cfef3e4d82d9c6bda9c0b5868cc95d173d86d
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