DC Patches 09 Aug, 2019

Submitted by Li, Sun peng (Leo) on Aug. 9, 2019, 9:36 p.m.

Details

Reviewer None
Submitted Aug. 9, 2019, 9:36 p.m.
Last Updated Aug. 9, 2019, 9:39 p.m.
Revision 1

Cover Letter(s)

Revision 1
      From: Leo Li <sunpeng.li@amd.com>

Summary of change:
* Fix potential black-screen after mode change on DCN20
* Fix igt@kms_vrr for DCN20
* Link training optimizations
* Fix NV12 SOC bounding box loading from firmware

Anthony Koo (3):
  drm/amd/display: fix issue where 252-255 values are clipped
  drm/amd/display: 3.2.45
  drm/amd/display: 3.2.46

Aric Cyr (2):
  drm/amd/display: 3.2.43
  drm/amd/display: 3.2.44

Bayan Zabihiyan (1):
  drm/amd/display: Fix frames_to_insert math

Charlene Liu (2):
  drm/amd/display: wake up ogam mem pwr before programming ocsc
  drm/amd/display: enable dcn_mem_pwr as golden setting updates

David Galiffi (1):
  drm/amd/display: Synchronous DisplayPort Link Training

Dmytro Laktyushkin (3):
  drm/amd/display: make firmware info only load once during dc_bios
    create
  drm/amd/display: update optc odm interface for more than 2 opps
  drm/amd/display: fix dcn20 global sync dml param extraction

Eric Yang (1):
  drm/amd/display: Enable type C hotplug

Ilya Bakoulin (3):
  drm/amd/display: Update DML parameters
  drm/amd/display: HUBP/HUBBUB register programming fixes
  drm/amd/display: Fix type of ODMCombineType field

Jaehyun Chung (1):
  drm/amd/display: Add work-around option to skip DCN20 clock updates

Julian Parkin (3):
  drm/amd/display: Improve sharing of HUBBUB register lists
  drm/amd/display: Remove duplicate interface for programming FB
  drm/amd/display: Remove redundant definition of dwb_source enums

Jun Lei (4):
  drm/amd/display: fixup DPP programming sequence
  drm/amd/display: wait for pending complete when enabling a plane
  drm/amd/display: clean up DML for DCN2x
  drm/amd/display: fix pipe selection logic in validate

Leo Li (1):
  drm/amd/display: Load NV12 SOC BB from firmware

Lewis Huang (1):
  drm/amd/display: reprogram VM config when system resume

Martin Leung (3):
  drm/amd/display: Make init_hw and init_pipes generic for seamless boot
  drm/amd/display: fix dcn-specific clk_mgr init_clocks
  drm/amd/display: enabling seamless boot sequence for dcn2

Michael Strauss (1):
  drm/amd/display: Enable MPO with pre-blend color processing (RGB)

Nicholas Kazlauskas (1):
  drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2

Nikola Cornij (5):
  drm/amd/display: Change DSC policy from slices per column to minimum
    slice height
  drm/amd/display: Set DSC before DIG front-end is connected to its
    back-end
  drm/amd/display: Remove 4:2:2 DSC support
  drm/amd/display: Correct DSC PPS log
  drm/amd/display: Add and refine DSC logs in enable sequence

Qingqing Zhuo (1):
  drm/amd/display: Add enum for H-timing divider mode

Su Sung Chung (1):
  drm/amd/display: refactor gpio to allocate hw_container in constructor

Vitaly Prosyak (3):
  drm/amd/display: Add 22, 24, and 26 degamma
  drm/amd/display: Add HLG support in color module
  drm/amd/display: Check if set_blank_data_double_buffer exists before
    call

Wenjing Liu (3):
  drm/amd/display: reset drr programming on pipe reset
  drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset
  drm/amd/display: check hpd before retry verify link cap

Wyatt Wood (2):
  drm/amd/display: Add Logging for Gamma Related information (1/2)
  drm/amd/display: Add Logging for Gamma Related information (2/2)

Yongqiang Sun (2):
  drm/amd/display: Add PIXEL_RATE control regs for more instances
  drm/amd/display: Add DFS reference clock field

yanyan kang (1):
  drm/amd/display: audio cannot switch to internal when display turns
    off

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   3 +
 .../gpu/drm/amd/display/dc/bios/bios_parser.c |   3 +-
 .../drm/amd/display/dc/bios/bios_parser2.c    |   3 +-
 .../display/dc/clk_mgr/dce100/dce_clk_mgr.c   |  17 +-
 .../display/dc/clk_mgr/dcn10/rv1_clk_mgr.c    |  12 +-
 .../display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c  | 136 +++--
 drivers/gpu/drm/amd/display/dc/core/dc.c      |  39 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 172 ++++---
 .../gpu/drm/amd/display/dc/core/dc_link_dp.c  | 320 ++++++++++--
 .../drm/amd/display/dc/core/dc_link_hwss.c    | 151 +++---
 .../gpu/drm/amd/display/dc/core/dc_resource.c |  46 +-
 drivers/gpu/drm/amd/display/dc/dc.h           |  11 +-
 .../gpu/drm/amd/display/dc/dc_bios_types.h    |   5 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h  |   3 +
 drivers/gpu/drm/amd/display/dc/dc_link.h      |  10 +
 .../drm/amd/display/dc/dce/dce_clock_source.c |  35 +-
 .../gpu/drm/amd/display/dc/dce/dce_hwseq.h    |  25 +-
 .../gpu/drm/amd/display/dc/dce/dce_i2c_hw.c   |  13 +-
 .../amd/display/dc/dce/dce_stream_encoder.c   |  31 ++
 .../amd/display/dc/dce100/dce100_resource.c   |   4 +-
 .../display/dc/dce110/dce110_hw_sequencer.c   |  17 +-
 .../display/dc/dce110/dce110_hw_sequencer.h   |   6 +-
 .../amd/display/dc/dce110/dce110_resource.c   |   4 +-
 .../drm/amd/display/dc/dce80/dce80_resource.c |  12 +-
 .../amd/display/dc/dcn10/dcn10_cm_common.c    |   7 +-
 .../drm/amd/display/dc/dcn10/dcn10_hubbub.c   |   4 +-
 .../drm/amd/display/dc/dcn10/dcn10_hubbub.h   |   2 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c |   2 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h |  26 +-
 .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 299 ++++++++---
 .../amd/display/dc/dcn10/dcn10_link_encoder.c |  49 +-
 .../amd/display/dc/dcn10/dcn10_link_encoder.h |   1 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c  |  19 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_mpc.h  |   4 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_optc.c |  10 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_optc.h |   6 +-
 .../drm/amd/display/dc/dcn10/dcn10_resource.c |   8 +
 .../display/dc/dcn10/dcn10_stream_encoder.c   |  26 +
 .../display/dc/dcn10/dcn10_stream_encoder.h   |   6 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c |  31 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h |   2 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c  |  16 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dpp.h  |  19 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c  | 118 +++--
 .../drm/amd/display/dc/dcn20/dcn20_hubbub.c   |  83 +--
 .../drm/amd/display/dc/dcn20/dcn20_hubbub.h   |   9 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c |  78 +--
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h |  18 +-
 .../drm/amd/display/dc/dcn20/dcn20_hwseq.c    | 437 +++++++---------
 .../gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c  |   6 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_mpc.h  |   6 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_optc.c |  23 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_optc.h |   4 +-
 .../drm/amd/display/dc/dcn20/dcn20_resource.c | 476 +++++++++++-------
 .../display/dc/dcn20/dcn20_stream_encoder.c   |  27 +-
 .../amd/display/dc/dml/display_mode_enums.h   |  22 +-
 .../amd/display/dc/dml/display_mode_structs.h |   3 +
 .../drm/amd/display/dc/dml/display_mode_vba.c |   9 +
 .../drm/amd/display/dc/dml/display_mode_vba.h |  18 +
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c   |  71 ++-
 .../dc/gpio/dce110/hw_factory_dce110.c        |  18 +-
 .../dc/gpio/dce120/hw_factory_dce120.c        |  14 +-
 .../display/dc/gpio/dce80/hw_factory_dce80.c  |  14 +-
 .../display/dc/gpio/dcn10/hw_factory_dcn10.c  |  12 +-
 .../display/dc/gpio/dcn20/hw_factory_dcn20.c  |  12 +-
 .../dc/gpio/diagnostics/hw_factory_diag.c     |   9 +-
 .../gpu/drm/amd/display/dc/gpio/gpio_base.c   |  74 ++-
 .../drm/amd/display/dc/gpio/gpio_service.c    |  51 +-
 .../drm/amd/display/dc/gpio/gpio_service.h    |   6 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c  |  26 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.h  |   5 +-
 .../gpu/drm/amd/display/dc/gpio/hw_factory.h  |  48 +-
 .../gpu/drm/amd/display/dc/gpio/hw_generic.c  |  32 +-
 .../gpu/drm/amd/display/dc/gpio/hw_generic.h  |   6 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c  |  31 +-
 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.h  |   5 +-
 .../gpu/drm/amd/display/dc/inc/core_types.h   |   2 -
 .../gpu/drm/amd/display/dc/inc/dc_link_dp.h   |  11 +-
 .../amd/display/dc/inc/hw/clk_mgr_internal.h  |  12 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h  |   3 +-
 .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h  |   4 +
 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h   |   4 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h   |  12 -
 drivers/gpu/drm/amd/display/dc/inc/hw/gpio.h  |  10 +
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h  |  11 +-
 .../drm/amd/display/dc/inc/hw/link_encoder.h  |   1 +
 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h   |   7 +
 .../amd/display/dc/inc/hw/stream_encoder.h    |  18 +-
 .../amd/display/dc/inc/hw/timing_generator.h  |  11 +-
 .../gpu/drm/amd/display/dc/inc/hw_sequencer.h |  32 ++
 .../gpu/drm/amd/display/dc/inc/link_hwss.h    |   2 -
 .../display/dc/irq/dcn20/irq_service_dcn20.c  |  28 +-
 .../dc/virtual/virtual_stream_encoder.c       |   5 +
 .../drm/amd/display/include/gpio_interface.h  |   9 +
 .../amd/display/include/logger_interface.h    |   2 +
 .../drm/amd/display/include/logger_types.h    |   7 +
 .../amd/display/modules/color/color_gamma.c   | 224 ++++++---
 .../amd/display/modules/color/color_gamma.h   |   1 +
 .../amd/display/modules/freesync/freesync.c   |  27 +-
 99 files changed, 2418 insertions(+), 1411 deletions(-)
    

Revisions

Patches download mbox

# Name Submitter State A F R T
[01/49] drm/amd/display: Add PIXEL_RATE control regs for more instances Li, Sun peng (Leo) New 1 1
[02/49] drm/amd/display: Add DFS reference clock field Li, Sun peng (Leo) New 1 1
[03/49] drm/amd/display: reset drr programming on pipe reset Li, Sun peng (Leo) New 1 1
[04/49] drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset Li, Sun peng (Leo) New 1 1
[05/49] drm/amd/display: fix issue where 252-255 values are clipped Li, Sun peng (Leo) New 1 1
[06/49] drm/amd/display: Fix frames_to_insert math Li, Sun peng (Leo) New 1 1
[07/49] drm/amd/display: Add 22, 24, and 26 degamma Li, Sun peng (Leo) New 2 2
[08/49] drm/amd/display: Improve sharing of HUBBUB register lists Li, Sun peng (Leo) New 2 1
[09/49] drm/amd/display: Synchronous DisplayPort Link Training Li, Sun peng (Leo) New 1 1
[10/49] drm/amd/display: make firmware info only load once during dc_bios create Li, Sun peng (Leo) New 1 1
[11/49] drm/amd/display: fixup DPP programming sequence Li, Sun peng (Leo) New 1 1
[12/49] drm/amd/display: Add work-around option to skip DCN20 clock updates Li, Sun peng (Leo) New 1 1
[13/49] drm/amd/display: refactor gpio to allocate hw_container in constructor Li, Sun peng (Leo) New 1 1
[14/49] drm/amd/display: wait for pending complete when enabling a plane Li, Sun peng (Leo) New 1 1
[15/49] drm/amd/display: 3.2.43 Li, Sun peng (Leo) New 1
[16/49] drm/amd/display: Make init_hw and init_pipes generic for seamless boot Li, Sun peng (Leo) New 1 1
[17/49] drm/amd/display: fix dcn-specific clk_mgr init_clocks Li, Sun peng (Leo) New 1 1
[18/49] drm/amd/display: enabling seamless boot sequence for dcn2 Li, Sun peng (Leo) New 1 1
[19/49] drm/amd/display: clean up DML for DCN2x Li, Sun peng (Leo) New 1 1
[20/49] drm/amd/display: Add HLG support in color module Li, Sun peng (Leo) New 2 1
[21/49] drm/amd/display: Change DSC policy from slices per column to minimum slice height Li, Sun peng (Leo) New 1 1
[22/49] drm/amd/display: Set DSC before DIG front-end is connected to its back-end Li, Sun peng (Leo) New 1 1
[23/49] drm/amd/display: 3.2.44 Li, Sun peng (Leo) New 1
[24/49] drm/amd/display: fix pipe selection logic in validate Li, Sun peng (Leo) New 1 1
[25/49] drm/amd/display: Remove duplicate interface for programming FB Li, Sun peng (Leo) New 1 1
[26/49] drm/amd/display: Update DML parameters Li, Sun peng (Leo) New 1 1
[27/49] drm/amd/display: update optc odm interface for more than 2 opps Li, Sun peng (Leo) New 1 1
[28/49] drm/amd/display: HUBP/HUBBUB register programming fixes Li, Sun peng (Leo) New 1 1
[29/49] drm/amd/display: Enable type C hotplug Li, Sun peng (Leo) New 1 1
[30/49] drm/amd/display: reprogram VM config when system resume Li, Sun peng (Leo) New 2 1
[31/49] drm/amd/display: Remove 4:2:2 DSC support Li, Sun peng (Leo) New 1 1
[32/49] drm/amd/display: Add Logging for Gamma Related information (1/2) Li, Sun peng (Leo) New 1 1
[33/49] drm/amd/display: Fix type of ODMCombineType field Li, Sun peng (Leo) New 1 1
[34/49] drm/amd/display: Check if set_blank_data_double_buffer exists before call Li, Sun peng (Leo) New 1 1
[35/49] drm/amd/display: Correct DSC PPS log Li, Sun peng (Leo) New 1 1
[36/49] drm/amd/display: wake up ogam mem pwr before programming ocsc Li, Sun peng (Leo) New 1 1
[37/49] drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2 Li, Sun peng (Leo) New 1 1
[38/49] drm/amd/display: Add enum for H-timing divider mode Li, Sun peng (Leo) New 1 1
[39/49] drm/amd/display: Remove redundant definition of dwb_source enums Li, Sun peng (Leo) New 1 1
[40/49] drm/amd/display: Add Logging for Gamma Related information (2/2) Li, Sun peng (Leo) New 1 1
[41/49] drm/amd/display: Add and refine DSC logs in enable sequence Li, Sun peng (Leo) New 1 1
[42/49] drm/amd/display: 3.2.45 Li, Sun peng (Leo) New 1
[43/49] drm/amd/display: fix dcn20 global sync dml param extraction Li, Sun peng (Leo) New 1 1
[44/49] drm/amd/display: 3.2.46 Li, Sun peng (Leo) New 1
[45/49] drm/amd/display: enable dcn_mem_pwr as golden setting updates Li, Sun peng (Leo) New 1 1
[46/49] drm/amd/display: check hpd before retry verify link cap Li, Sun peng (Leo) New 2 1
[47/49] drm/amd/display: audio cannot switch to internal when display turns off Li, Sun peng (Leo) New 1 1
[48/49] drm/amd/display: Enable MPO with pre-blend color processing (RGB) Li, Sun peng (Leo) New 2 1
[49/49] drm/amd/display: Load NV12 SOC BB from firmware Li, Sun peng (Leo) New 1