linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
calcs drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines 2019-07-30 23:18:33 -05:00
clk_mgr drm/amd/display: fix dcn-specific clk_mgr init_clocks 2019-08-15 10:54:21 -05:00
core drm/amd/display: Set DSC before DIG front-end is connected to its back-end 2019-08-15 10:54:53 -05:00
dce drm/amd/display: enabling seamless boot sequence for dcn2 2019-08-15 10:54:27 -05:00
dce80 drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dce100 drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dce110 drm/amd/display: Make init_hw and init_pipes generic for seamless boot 2019-08-15 10:54:14 -05:00
dce112 drm/amd/display: Fix a typo - dce_aduio_mask --> dce_audio_mask 2019-08-12 12:47:49 -05:00
dce120 drm/amd/display: Fix a typo - dce_aduio_mask --> dce_audio_mask 2019-08-12 12:47:49 -05:00
dcn10 drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
dcn20 drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
dml drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines 2019-07-30 23:18:33 -05:00
dsc drm/amd/display: Change DSC policy from slices per column to minimum slice height 2019-08-15 10:54:46 -05:00
gpio drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
inc drm/amd/display: Remove duplicate interface for programming FB 2019-08-15 10:55:11 -05:00
irq Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
virtual drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset 2019-08-15 10:52:59 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_dsc.h drm/amd/display: update DSC MST DP virtual DPCD peer device enumeration policy 2019-06-22 09:34:13 -05:00
dc_helper.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_hw_types.h drm/amd/display: add dcc programming for dual plane 2019-07-18 14:27:26 -05:00
dc_link.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_stream.h drm/amd/display: Expose audio inst from DC to DM 2019-07-11 14:37:24 -05:00
dc_types.h drm/amd/display: add set and get clock for testing purposes 2019-07-18 14:27:25 -05:00
dc.h drm/amd/display: 3.2.44 2019-08-15 10:54:59 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
dm_pp_smu.h drm/amd/display: Add DC core changes for DCN2 2019-06-21 18:59:35 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00
os_types.h drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00