dal patches for nov 23, 2016

Submitted by Harry Wentland on Nov. 24, 2016, 2:02 a.m.

Details

Reviewer None
Submitted Nov. 24, 2016, 2:02 a.m.
Last Updated Nov. 25, 2016, 9:59 p.m.
Revision 2

Cover Letter(s)

Revision 1
      * couple of warning cleanups
* some memory leak issues
* transform cleanup
* some minor fixes

Alex Deucher (11):
  drm/amd/dal: remove unused function
  drm/amd/dal: fix warnings in dce_stream_encoder.c
  drm/amd/dal: fix warning in dce_link_encoder.c
  drm/amd/dal: fix bug in dal_display_clock_get_min_clocks_state
  drm/amd/dal: fix warning in dal_display_clock_dce112_construct
  drm/amd/dal: fix warning in dce110_hw_sequencer.c
  drm/amd/dal: fix warning in dce110_resource.c
  drm/amd/dal: fix include order in dce80_resource.c
  drm/amd/dal: handle NULL mem_input in dc_init_dchub
  drm/amd/dal: fix warning in dc_link_dp_set_test_pattern
  drm/amd/dal: fix warning in calculate_bandwidth

Dmytro Laktyushkin (14):
  drm/amd/dal: fix v_update locking
  drm/amd/dal: fix flip optimization
  drm/amd/dal: transform cleanup
  drm/amd/dal: separate out scaler filters
  drm/amd/dal: transform cleanup powerup
  drm/amd/dal: transform cleanup file structure
  drm/amd/dal: dce110 scaler to new style
  drm/amd/dal: drop dce80 transform code
  drm/amd/dal: Use macro to define transform reg sh and mask
  drm/amd/dal: drop scaler bypass function
  drm/amd/dal: clean transform.h
  drm/amd/dal: remove scaler filter calculator from dc
  drm/amd/dal: move out transform code to dce_transform
  drm/amd/dal: remove adapter service interface/types

Jordan Lazare (1):
  drm/amd/dal: Add missing return to bios helper

Leon Elazar (1):
  drm/amd/dal: Memory leak fixes

Logatharshan Thothiralingam (1):
  drm/amd/dal: Use Polaris headers for i2c engine

Reza Amini (2):
  drm/amd/dal: correcting the wait for DP_MSE_RATE_UPDATE_PENDING reset
  drm/amd/dal: Configure audio before audio enable (Jack presence Hot
    Plug)

Tony Cheng (8):
  drm/amd/dal: Freesync to track only streams
  drm/amd/dal: fix misc0 bug lead to DP not lighting up
  drm/amd/dal: improve compiler catching bug in REG_SET
  drm/amd/dal: visual confirm change blank color to none-black
  drm/amd/dal: fix memory leak pointed out by Juha Leppänen
    <juha_efku@dnainternet.net>
  drm/amd/dal: fix infinite loop
  drm/amd/dal: consolidate mem_input
  drm/amd/dal: fix wrong pll selection for hdmi

Yongqiang Sun (1):
  drm/amd/dal: Only set backlight level for eDP panel.

 .../gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c    |   39 +-
 drivers/gpu/drm/amd/dal/dc/basics/conversion.h     |    2 +
 drivers/gpu/drm/amd/dal/dc/bios/bios_parser.c      |    7 -
 .../gpu/drm/amd/dal/dc/bios/command_table_helper.c |    1 -
 .../dc/bios/dce110/command_table_helper_dce110.c   |    1 -
 .../dc/bios/dce112/command_table_helper_dce112.c   |    1 -
 .../dal/dc/bios/dce80/command_table_helper_dce80.c |    1 -
 drivers/gpu/drm/amd/dal/dc/calcs/Makefile          |    2 +-
 drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c |    2 -
 drivers/gpu/drm/amd/dal/dc/calcs/scaler_filter.c   | 2012 --------------------
 drivers/gpu/drm/amd/dal/dc/calcs/scaler_filter.h   |   75 -
 drivers/gpu/drm/amd/dal/dc/core/dc.c               |   56 +-
 drivers/gpu/drm/amd/dal/dc/core/dc_hw_sequencer.c  |   14 +-
 drivers/gpu/drm/amd/dal/dc/core/dc_link.c          |    3 +-
 drivers/gpu/drm/amd/dal/dc/core/dc_link_ddc.c      |    1 -
 drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c       |    3 +-
 drivers/gpu/drm/amd/dal/dc/core/dc_resource.c      |   15 +-
 drivers/gpu/drm/amd/dal/dc/dc_helper.c             |   16 +-
 drivers/gpu/drm/amd/dal/dc/dc_hw_types.h           |    2 +
 drivers/gpu/drm/amd/dal/dc/dce/Makefile            |    2 +-
 drivers/gpu/drm/amd/dal/dc/dce/dce_hwseq.c         |   10 +-
 drivers/gpu/drm/amd/dal/dc/dce/dce_link_encoder.c  |    2 -
 drivers/gpu/drm/amd/dal/dc/dce/dce_mem_input.c     |  191 ++
 drivers/gpu/drm/amd/dal/dc/dce/dce_mem_input.h     |   91 +-
 drivers/gpu/drm/amd/dal/dc/dce/dce_scl_filters.c   |  501 +++++
 .../gpu/drm/amd/dal/dc/dce/dce_stream_encoder.c    |   16 +-
 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.c     | 1004 ++++++++++
 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.h     |  311 +++
 .../gpu/drm/amd/dal/dc/dce100/dce100_resource.c    |  105 +-
 drivers/gpu/drm/amd/dal/dc/dce110/Makefile         |   10 +-
 .../drm/amd/dal/dc/dce110/dce110_hw_sequencer.c    |   76 +-
 .../gpu/drm/amd/dal/dc/dce110/dce110_mem_input.c   |  205 +-
 .../gpu/drm/amd/dal/dc/dce110/dce110_resource.c    |   90 +-
 .../amd/dal/dc/dce110/dce110_timing_generator.c    |    1 -
 .../amd/dal/dc/dce110/dce110_timing_generator_v.c  |    1 -
 .../gpu/drm/amd/dal/dc/dce110/dce110_transform.c   |  127 --
 .../gpu/drm/amd/dal/dc/dce110/dce110_transform.h   |   96 -
 .../amd/dal/dc/dce110/dce110_transform_bit_depth.c |  903 ---------
 .../amd/dal/dc/dce110/dce110_transform_bit_depth.h |   40 -
 .../drm/amd/dal/dc/dce110/dce110_transform_gamut.c |  269 ---
 .../drm/amd/dal/dc/dce110/dce110_transform_scl.c   |  765 --------
 .../gpu/drm/amd/dal/dc/dce110/dce110_transform_v.c |  418 ++--
 .../gpu/drm/amd/dal/dc/dce110/dce110_transform_v.h |   13 +-
 .../gpu/drm/amd/dal/dc/dce112/dce112_compressor.c  |    1 -
 .../gpu/drm/amd/dal/dc/dce112/dce112_mem_input.c   |  384 +---
 .../gpu/drm/amd/dal/dc/dce112/dce112_resource.c    |   96 +-
 drivers/gpu/drm/amd/dal/dc/dce80/Makefile          |    5 +-
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_mem_input.c |  126 +-
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c  |  121 +-
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform.c |  117 --
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform.h |   85 -
 .../amd/dal/dc/dce80/dce80_transform_bit_depth.c   |  742 --------
 .../amd/dal/dc/dce80/dce80_transform_bit_depth.h   |   39 -
 .../drm/amd/dal/dc/dce80/dce80_transform_gamut.c   |  269 ---
 .../gpu/drm/amd/dal/dc/dce80/dce80_transform_scl.c |  714 -------
 drivers/gpu/drm/amd/dal/dc/dm_services.h           |   11 +-
 .../amd/dal/dc/gpu/dce110/display_clock_dce110.c   |    1 -
 .../amd/dal/dc/gpu/dce112/display_clock_dce112.c   |    2 -
 .../drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c |    1 -
 drivers/gpu/drm/amd/dal/dc/gpu/display_clock.c     |    2 +-
 .../dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c    |   10 +-
 drivers/gpu/drm/amd/dal/dc/inc/core_types.h        |    4 -
 drivers/gpu/drm/amd/dal/dc/inc/hw/mem_input.h      |    1 +
 drivers/gpu/drm/amd/dal/dc/inc/hw/transform.h      |  177 +-
 drivers/gpu/drm/amd/dal/dc/inc/hw_sequencer.h      |    3 +-
 drivers/gpu/drm/amd/dal/dc/inc/reg_helper.h        |    2 +-
 drivers/gpu/drm/amd/dal/dc/inc/resource.h          |    7 +-
 .../amd/dal/include/adapter_service_interface.h    |  320 ----
 .../drm/amd/dal/include/adapter_service_types.h    |   62 -
 .../gpu/drm/amd/dal/include/bios_parser_types.h    |   12 +-
 .../drm/amd/dal/include/display_clock_interface.h  |    1 -
 .../drm/amd/dal/include/irq_service_interface.h    |    2 -
 drivers/gpu/drm/amd/dal/include/scaler_types.h     |   61 -
 .../gpu/drm/amd/dal/modules/freesync/freesync.c    |  201 +-
 drivers/gpu/drm/amd/dal/modules/inc/mod_freesync.h |   55 +-
 75 files changed, 2744 insertions(+), 8390 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/calcs/scaler_filter.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/calcs/scaler_filter.h
 create mode 100644 drivers/gpu/drm/amd/dal/dc/dce/dce_scl_filters.c
 create mode 100644 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.c
 create mode 100644 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.h
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform.h
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform_bit_depth.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform_bit_depth.h
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform_gamut.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce110/dce110_transform_scl.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform.h
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform_bit_depth.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform_bit_depth.h
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform_gamut.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/dce80/dce80_transform_scl.c
 delete mode 100644 drivers/gpu/drm/amd/dal/include/adapter_service_interface.h
 delete mode 100644 drivers/gpu/drm/amd/dal/include/adapter_service_types.h
 delete mode 100644 drivers/gpu/drm/amd/dal/include/scaler_types.h
    
Revision 2
      * remove some dead code
* bunch of minor fixes

Dmytro Laktyushkin (3):
  drm/amd/dal: remove dc_clock_generator (dead code)
  drm/amd/dal: refactor and fix lb memory size setting
  drm/amd/dal: revert dc_flip_surface_addrs to directly flip address

Tony Cheng (1):
  drm/amd/dal: enhance debug print in REG_WAIT

Yongqiang Sun (1):
  drm/amd/dal: Temporary fix DP hot plug crash.

 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c      | 12 ++++
 .../gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c    |  2 +
 drivers/gpu/drm/amd/dal/dc/core/dc.c               | 21 +++++--
 drivers/gpu/drm/amd/dal/dc/dc_helper.c             |  2 +-
 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.c     | 24 ++++----
 drivers/gpu/drm/amd/dal/dc/dce/dce_transform.h     |  4 +-
 .../gpu/drm/amd/dal/dc/dce100/dce100_resource.c    |  1 -
 .../gpu/drm/amd/dal/dc/dce110/dce110_transform_v.c |  6 +-
 .../gpu/drm/amd/dal/dc/dce112/dce112_resource.c    |  2 +-
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c  |  1 -
 drivers/gpu/drm/amd/dal/dc/gpu/Makefile            |  2 +-
 .../gpu/drm/amd/dal/dc/gpu/dc_clock_generator.c    | 71 ----------------------
 .../gpu/drm/amd/dal/dc/gpu/dc_clock_generator.h    | 54 ----------------
 drivers/gpu/drm/amd/dal/dc/inc/hw/transform.h      |  4 --
 .../amd/dal/include/dc_clock_generator_interface.h | 68 ---------------------
 15 files changed, 50 insertions(+), 224 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/gpu/dc_clock_generator.c
 delete mode 100644 drivers/gpu/drm/amd/dal/dc/gpu/dc_clock_generator.h
 delete mode 100644 drivers/gpu/drm/amd/dal/include/dc_clock_generator_interface.h
    

Revisions

Patches download mbox

# Name Submitter State A F R T
[01/39] drm/amd/dal: Use Polaris headers for i2c engine Harry Wentland New 1
[02/39] drm/amd/dal: Add missing return to bios helper Harry Wentland New 1
[03/39] drm/amd/dal: correcting the wait for DP_MSE_RATE_UPDATE_PENDING reset Harry Wentland New 1
[04/39] drm/amd/dal: Freesync to track only streams Harry Wentland New 1
[05/39] drm/amd/dal: fix v_update locking Harry Wentland New 1
[06/39] drm/amd/dal: fix flip optimization Harry Wentland New 1
[07/39] drm/amd/dal: fix misc0 bug lead to DP not lighting up Harry Wentland New 1
[08/39] drm/amd/dal: improve compiler catching bug in REG_SET Harry Wentland New 1
[09/39] drm/amd/dal: visual confirm change blank color to none-black Harry Wentland New 1
[10/39] drm/amd/dal: transform cleanup Harry Wentland New 1
[11/39] drm/amd/dal: separate out scaler filters Harry Wentland New 1
[12/39] drm/amd/dal: transform cleanup powerup Harry Wentland New 1
[13/39] drm/amd/dal: transform cleanup file structure Harry Wentland New 1
[14/39] drm/amd/dal: dce110 scaler to new style Harry Wentland New 1
[15/39] drm/amd/dal: drop dce80 transform code Harry Wentland New 1
[16/39] drm/amd/dal: Use macro to define transform reg sh and mask Harry Wentland New 1
[17/39] drm/amd/dal: drop scaler bypass function Harry Wentland New 1
[18/39] drm/amd/dal: clean transform.h Harry Wentland New 1
[19/39] drm/amd/dal: remove scaler filter calculator from dc Harry Wentland New 1
[20/39] drm/amd/dal: fix memory leak pointed out by Juha Leppänen <juha_efku@dnainternet.net> Harry Wentland New 1
[21/39] drm/amd/dal: move out transform code to dce_transform Harry Wentland New 1
[22/39] drm/amd/dal: fix infinite loop Harry Wentland New 1
[23/39] drm/amd/dal: Only set backlight level for eDP panel. Harry Wentland New 1
[24/39] drm/amd/dal: consolidate mem_input Harry Wentland New 1
[25/39] drm/amd/dal: remove adapter service interface/types Harry Wentland New 1
[26/39] drm/amd/dal: Memory leak fixes Harry Wentland New 1
[27/39] drm/amd/dal: remove unused function Harry Wentland New 1
[28/39] drm/amd/dal: fix warnings in dce_stream_encoder.c Harry Wentland New 1
[29/39] drm/amd/dal: fix warning in dce_link_encoder.c Harry Wentland New 1
[30/39] drm/amd/dal: fix bug in dal_display_clock_get_min_clocks_state Harry Wentland New 1
[31/39] drm/amd/dal: fix warning in dal_display_clock_dce112_construct Harry Wentland New 1
[32/39] drm/amd/dal: fix warning in dce110_hw_sequencer.c Harry Wentland New 1
[33/39] drm/amd/dal: fix warning in dce110_resource.c Harry Wentland New 1
[34/39] drm/amd/dal: fix include order in dce80_resource.c Harry Wentland New 1
[35/39] drm/amd/dal: handle NULL mem_input in dc_init_dchub Harry Wentland New 1
[36/39] drm/amd/dal: fix warning in dc_link_dp_set_test_pattern Harry Wentland New 1
[37/39] drm/amd/dal: fix warning in calculate_bandwidth Harry Wentland New 1
[38/39] drm/amd/dal: fix wrong pll selection for hdmi Harry Wentland New 1
[39/39] drm/amd/dal: Configure audio before audio enable (Jack presence Hot Plug) Harry Wentland New 1