drm/amd/display: Fix HUBP secondary viewport programming
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Fri, 23 Aug 2019 16:45:34 +0000 (12:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 13:06:54 +0000 (08:06 -0500)
commit132dade1181b41478d0efa93f78011ed482f86dc
tree9987f456dfee3e2b46612af19a84149bd221681b
parentde7b45babd9be25138ff5e4a0c34eefffbb226ff
drm/amd/display: Fix HUBP secondary viewport programming

[Why]
Secondary viewport dimension/position registers are not programmed,
which can cause issues in some stereo configurations.

[How]
Add register definitions and register programming.

Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h