drm/amd/display: Add missing VM conversion from hw values
authorJun Lei <Jun.Lei@amd.com>
Mon, 13 May 2019 19:09:13 +0000 (15:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:13 +0000 (09:34 -0500)
commit3979efcec6272848fca96496c53096f6ee8aa32f
treed08bfb3831bd99ddd98cf425d948e2709e8cbcdd
parenta746a2585542179bf9ec37c5243a10a6490ba41d
drm/amd/display: Add missing VM conversion from hw values

[why]
VM implemenation is missing conversion from HW values in hubbub
DM not passing actual PTB during flip

[how]
add proper HW conversion from logical values
fix cases where we programmed VA even though we are in PA
plumb in PTB from DM

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn20/dcn20_hwseq.c