]> 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)
commit64e743c68430612fd235e228029895efcb57c640
treeb8d0a92596e31f00c26c2b8fd525a0829e08094f
parent8c3b3f505866460b79fc71bdbe94bb7cd565ec7e
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