From: "Leo (Sunpeng) Li" <sunpeng.li@xxxxxxx> * Start of cleanup for midlayer abstractions * Laying down foundations for FBC * Future-proofing of DCN functions * Pipe splitting features for Raven * General bug fixes for Raven Amy Zhang (1): drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp Andrey Grodzovsky (17): drm/amd/display: Create dm_crtc_state stubs. drm/amd/display: Move dm_plane_state to DAL header. drm/amd/display: Remove unblanaced drm_vblank_put. drm/amd/display: Update atomic state hooks. drm/amd/display: Remove acrtc->stream drm/amd/display: Undo dc_update_surfaces_and_stream change. drm/amd/display: Refactor dc_commit_streams drm/amd/display: Leave all validate_ctx life cycle management to DC. drm/amd/display: Clean dm_plane_state hooks. drm/amd/display: Attach surface to dm_plane_state. drm/amd/display: Introduce refcount for dc_validate_context drm/amd/display: Skip DC validation for flips and cursor. drm/amd/display: Release dm_state->context when state is cleared. drm/amd/display: dc_validate_ctx refocunt fixes. drm/amd/display: Preserve refcount for S3 case. drm/amd/display: Release cached atomic state in S3. drm/amd/display: Fix S3 gamma corruption. Anthony Koo (3): drm/amd/display: add hyst frames for fixed refresh drm/amd/display: Fix MPO visual confirm drm/amd/display: Add regkey for DRR control for internal panel Bhawanpreet Lakha (3): drm/amd/display: remove unneeded FBC hw programming code drm/amd/display: Connect DC resource to FBC compressor drm/amd/display: Set static screen register for stoney/carrizo Charlene Liu (5): drm/amd/display: Enabling VSR on 4K display causes black screen drm/amd/display: change non_dpm0 state's default SR latency drm/amd/display: fix 4k at 30 with 10bit deep color and avi for BT2020 drm/amd/display: fix DVI connected to HDMI connector max tmds clock drm/amd/display: fix aviInfoFrame bar Info and add set_avMute Corbin McElhanney (3): drm/amd/display: Add clock info struct drm/amd/display: Add extra mode and clock info to DTN logs drm/amd/display: Fix context copy memory leak Ding Wang (1): drm/amd/display: link training fallback actions Dmytro Laktyushkin (17): drm/amd/display: fix dcn pipe reset sequence drm/amd/display: enable diags compilation drm/amd/display: Change max OPP drm/amd/display: Rename DCN TG specific function prefixes to tg drm/amd/display: Rename DCN mem input specific function prefixes to min. drm/amd/display: Rename DCN opp specific function prefixes to oppn10 drm/amd/display: Enable ipp compilation drm/amd/display: Remove SMU_INTERRUPT_CONTROL drm/amd/display: refactor dcn10 hw_sequencer to new reg access style drm/amd/display: get dal1.1 to run drm/amd/display: minor dcn10_hwseq clean up/refactor drm/amd/display: dal1.1 opp prog update drm/amd/display: dal1.1 ipp prog update drm/amd/display: dal1.1 xfm prog update drm/amd/display: dal1.1 hwseq prog update drm/amd/display: add line number to reg_wait timeout print drm/amd/display: hwseq init sequence update Eric Yang (7): drm/amd/display: move number of memory channel calc out of pplib call drm/amd/display: block modes that require read bw greater than 30% drm/amd/display: Change how we disable pipe split drm/amd/display: call pplib to update clocks drm/amd/display: fix mpo exit hang drm/amd/display: properly turn off unused mpc before front end programming drm/amd/display: powergate fe of reused pipes to reset ttu Harry Wentland (8): drm/amd/display: Make mode_config_funcs const drm/amd/display: Create dm_atomic_state drm/amd/display: Hook dm private state into atomic_check drm/amd/display: Add correct retain/release drm/amd/display: Commit validation set from state drm/amd/display: Add validate_context to atomic_state drm/amd/display: Use validate_context from atomic_check in commit drm/amd/display: Get freesync properties John Wu (1): drm/amd/display: Fix eDP power isn't off when lid close Ken Chalmers (1): drm/amd/display: RV stereo support Leo (Sunpeng) Li (3): drm/amd/display: Move drm_get_vblank from legacy code drm/amd/display: Flattening to dc_transfer_func drm/amd/display: Do not release state objects on atomic check fail Tony Cheng (5): drm/amd/display: update DPM bounding box drm/amd/display: change order of HUBP and MPC disable according to HW guide drm/amd/display: avoid disabling opp clk before hubp is blanked. drm/amd/display: ensure OTG is locked before proceeding drm/amd/display: revert order change of HUBP and MPC disable Vikrant Mhaske (1): drm/amd/display: Coding for backcompatible tiling support for Gfx7 Vitaly Prosyak (3): drm/amd/display: Fix for hdmi frame pack stereo drm/amd/display: Rename trasnform to dpp for dcn's drm/amd/display: Move view port registers and programming to memory input. Yongqiang Sun (1): drm/amd/display: set drr during program timing. Yue Hin Lau (1): drm/amd/display: Add DC interface for custom CSC matrix drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 60 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 847 ++++++++-------- .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.h | 27 +- .../gpu/drm/amd/display/dc/basics/log_helpers.c | 30 +- drivers/gpu/drm/amd/display/dc/basics/logger.c | 6 +- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 173 ++-- drivers/gpu/drm/amd/display/dc/core/dc.c | 286 ++++-- .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 6 - drivers/gpu/drm/amd/display/dc/core/dc_link.c | 10 + drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 239 ++++- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 4 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 64 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 6 +- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 19 +- drivers/gpu/drm/amd/display/dc/dc.h | 33 +- drivers/gpu/drm/amd/display/dc/dc_helper.c | 6 +- drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 8 +- drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 8 +- drivers/gpu/drm/amd/display/dc/dce/dce_clocks.h | 41 +- drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 188 +++- .../gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 6 + .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h | 2 - .../drm/amd/display/dc/dce/dce_stream_encoder.c | 13 +- .../drm/amd/display/dc/dce110/dce110_compressor.c | 578 +++-------- .../drm/amd/display/dc/dce110/dce110_compressor.h | 5 +- .../amd/display/dc/dce110/dce110_hw_sequencer.c | 67 +- .../amd/display/dc/dce110/dce110_hw_sequencer.h | 1 + .../drm/amd/display/dc/dce110/dce110_resource.c | 10 + .../display/dc/dce110/dce110_timing_generator.c | 21 + .../drm/amd/display/dc/dce110/dce110_transform_v.c | 4 +- .../drm/amd/display/dc/dce120/dce120_resource.c | 17 +- .../display/dc/dce120/dce120_timing_generator.c | 19 +- drivers/gpu/drm/amd/display/dc/dcn10/Makefile | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c | 1028 +++++++++++++++++++ drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 383 +++++++ .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 948 +++++++---------- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c | 108 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.h | 92 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_mem_input.c | 139 ++- .../gpu/drm/amd/display/dc/dcn10/dcn10_mem_input.h | 131 ++- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 24 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.h | 14 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c | 156 ++- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.h | 101 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 91 +- .../amd/display/dc/dcn10/dcn10_timing_generator.c | 185 ++-- .../amd/display/dc/dcn10/dcn10_timing_generator.h | 59 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_transform.c | 1063 -------------------- .../gpu/drm/amd/display/dc/dcn10/dcn10_transform.h | 416 -------- drivers/gpu/drm/amd/display/dc/dm_helpers.h | 3 +- drivers/gpu/drm/amd/display/dc/dm_services.h | 2 +- drivers/gpu/drm/amd/display/dc/dm_services_types.h | 6 + drivers/gpu/drm/amd/display/dc/inc/compressor.h | 46 +- drivers/gpu/drm/amd/display/dc/inc/core_dc.h | 6 + drivers/gpu/drm/amd/display/dc/inc/core_types.h | 11 +- drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h | 8 + drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h | 4 + drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 1 + .../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 3 + drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 9 +- drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 68 +- drivers/gpu/drm/amd/display/dc/inc/resource.h | 1 + .../display/dc/virtual/virtual_stream_encoder.c | 4 + .../drm/amd/display/include/link_service_types.h | 9 + .../gpu/drm/amd/display/include/logger_interface.h | 5 + drivers/gpu/drm/amd/display/include/logger_types.h | 1 + .../drm/amd/display/modules/freesync/freesync.c | 160 +-- .../gpu/drm/amd/display/modules/inc/mod_freesync.h | 4 + 72 files changed, 4271 insertions(+), 3830 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h delete mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_transform.c delete mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_transform.h -- 2.7.4