]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Fix some HUBP programming issues
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Wed, 12 Jun 2019 16:40:42 +0000 (12:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:10 +0000 (14:18 -0500)
commiteced4bceed22114697a17295a768cebea1dbc2b0
treeb8d0a92596e31f00c26c2b8fd525a0829e08094f
parent24f1d1cee2bc9cb591145e21823d7865208a7991
drm/amd/display: Fix some HUBP programming issues

[Why]
A hubp pointer was being passed to DCN1 functions, which
expect the enclosing structure (for the purpose of container_of macros)
to be dcn10_hubp, but the actual type was dcn20_hubp.

[How]
Copy existing DCN1 functions and alter them slightly for use with
dcn20_hubp.

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/dcn20/dcn20_hubp.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h