]> git.baikalelectronics.ru Git - kernel.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)
commit64bcacb4867063ed93e61bdd63648de1f68d768d
treeb8d0a92596e31f00c26c2b8fd525a0829e08094f
parent76f93728ad6b708f8b6bd5ade0fb2239a9a0bc27
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