linux/drivers/gpu/drm/amd/display/dc/inc/hw
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
..
abm.h drm/amd/display: disable PSR/ABM before destroy DMCU struct 2019-05-31 10:39:30 -05:00
audio.h drm/amd/display: Disable audio stream only if it's currently enabled 2019-05-31 10:39:30 -05:00
aux_engine.h drm/amd/display: flatten aux_engine and engine 2018-07-27 09:07:42 -05:00
clk_mgr.h drm/amd/display: add set and get clock for testing purposes 2019-07-18 14:27:25 -05:00
clk_mgr_internal.h drm/amd/display: fixup DPP programming sequence 2019-08-15 10:53:43 -05:00
dccg.h drm/amd/display: fixup DPP programming sequence 2019-08-15 10:53:43 -05:00
dchubbub.h drm/amd/display: Make init_hw and init_pipes generic for seamless boot 2019-08-15 10:54:14 -05:00
dmcu.h drm/amd/display: add explicit handshake between x86 and DMCU 2019-04-23 17:28:19 -05:00
dpp.h drm/amd/display: Add CM_BYPASS via debug option 2019-07-18 14:27:25 -05:00
dsc.h drm/amd/display: Set DSC before DIG front-end is connected to its back-end 2019-08-15 10:54:53 -05:00
dwb.h drm/amd/display: add dwb stere caps and version 2019-06-22 09:34:13 -05:00
gpio.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hubp.h drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
hw_shared.h drm/amd/display: Increase size of audios array 2019-07-18 14:27:26 -05:00
ipp.h drm/amd/display: csc_transform to dc_csc_transform 2018-05-15 13:42:54 -05:00
link_encoder.h drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
mcif_wb.h drm/amd/display: Add DCN2 DWB 2019-06-21 18:59:35 -05:00
mem_input.h drm/amd/display: add dcc programming for dual plane 2019-07-18 14:27:26 -05:00
mpc.h drm/amd/display: enabling seamless boot sequence for dcn2 2019-08-15 10:54:27 -05:00
opp.h drm/amd/display: Add DCN2 OPP 2019-06-21 18:59:34 -05:00
stream_encoder.h drm/amd/display: Set DSC before DIG front-end is connected to its back-end 2019-08-15 10:54:53 -05:00
timing_generator.h drm/amd/display: Fix ODM combine data format 2019-06-22 09:34:10 -05:00
transform.h drm/amd/display: csc_transform to dc_csc_transform 2018-05-15 13:42:54 -05:00
vmid.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00