linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
bw_fixed.h drm/amd/display: explicit uint64_t casting 2018-11-05 14:20:50 -05:00
clock_source.h drm/amd/display: Keep clocks high before seamless boot done 2019-03-19 15:04:03 -05:00
compressor.h drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
core_status.h drm/amd/display: add set and get clock for testing purposes 2019-07-18 14:27:25 -05:00
core_types.h drm/amd/display: fixup DPP programming sequence 2019-08-15 10:53:43 -05:00
custom_float.h drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dc_link_ddc.h drm/amd/display: Respect aux return values 2019-03-19 15:04:02 -05:00
dc_link_dp.h drm/amd/display: Set DSC before DIG front-end is connected to its back-end 2019-08-15 10:54:53 -05:00
dce_calcs.h drm/amdgpu/display: remove VEGAM config option 2018-05-18 16:08:18 -05:00
dcn_calcs.h drm/amd/display: make clk mgr soc specific 2019-05-31 10:39:29 -05:00
hw_sequencer.h drm/amd/display: Make init_hw and init_pipes generic for seamless boot 2019-08-15 10:54:14 -05:00
link_hwss.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
reg_helper.h drm/amd/display: Combine field toggle macro and sequence write macro. 2019-03-19 15:36:49 -05:00
resource.h drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
vm_helper.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00