linux/drivers/gpu/drm/amd
Julian Parkin 5fc43055b0 drm/amd/display: Remove duplicate interface for programming FB
[Why]
There are currently two interfaces for exactly the same thing:
hupb_update_dchub in hupb and update_dchub in hubbub. The hubbub
version is currently unused past dcn10, largely because the call
from the dcn10 hardware sequencer does not call through the
interface, so the hupb interface was used instead. This is
confusing because of the duplicate code, the unused functions,
and the fact that more that one block currently owns this set
of registers.

[How]
Remove the hubp interface entirely, as well as the register
declarations that are not longer needed because of this. Change
the call site to always call the hubbub version through the
interface. Fix the update_dchub function in dcn20_hubbub.c to
program the correct registers for dcn20.

Signed-off-by: Julian Parkin <julian.parkin@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-15 10:55:11 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: MODULE_FIRMWARE requires linux/module.h 2019-08-15 10:52:01 -05:00
amdkfd Linux 5.3-rc3 2019-08-09 13:07:28 -05:00
display drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
include drm/amdgpu: implement querying ras error count for mmhub 2019-08-15 10:51:50 -05:00
powerplay drm/amdgpu/powerplay: fix spelling mistake "unsuported" -> "unsupported" 2019-08-15 10:51:56 -05:00