Skip to content

DC Patches Dec 20, 2016

Harry Wentland amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22drm/amd/display: Resolved HDMI assert in daldrivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c+3 -30 replies
2/22drm/amd/display: Refactor to move color helper into moduledrivers/gpu/drm/amd/display/modules/color/color_helper.c drivers/gpu/drm/amd/display/modules/color/color_helper.h drivers/gpu/drm/amd/display/modules/inc/mod_color.h+251 -22 replies
3/22drm/amd/display: Add debug option to disable dmcudrivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c+4 -00 replies
4/22drm/amd/display: fix hotplug regression after code refactordrivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c+1 -10 replies
5/22drm/amd/display: Refactor output transfer function to streamdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c drivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/core/dc_stream.c +5 more+95 -270 replies
6/22drm/amd/display: define reg helpers to update registers with 8 and 9 fieldsdrivers/gpu/drm/amd/display/dc/inc/reg_helper.h+25 -00 replies
7/22drm/amd/display: Refactor to move gamma correction to moduledrivers/gpu/drm/amd/display/modules/color/color.c drivers/gpu/drm/amd/display/modules/inc/mod_color.h+81 -00 replies
8/22drm/amd/display: Implement PQ curve based on output transfer functiondrivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h+92 -70 replies
9/22drm/amd/display: OPP refactor and consolidation for DCE.drivers/gpu/drm/amd/display/dc/dce/Makefile drivers/gpu/drm/amd/display/dc/dce/dce_opp.c drivers/gpu/drm/amd/display/dc/dce/dce_opp.h +23 more+1547 -39600 replies
10/22drm/amd/display: Fix distribution of segments for PQdrivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c+48 -30 replies
11/22drm/amd/display: Fix programming of gamma end pointsdrivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c+27 -240 replies
12/22drm/amd/display: remove dc hub - this seems unused.drivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input.c +2 more+0 -480 replies
13/22drm/amd/display: remove some unused wrappersdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c+0 -40 replies
14/22drm/amd/display: drop register logger and pid/tgid gettersdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c drivers/gpu/drm/amd/display/dc/basics/Makefile drivers/gpu/drm/amd/display/dc/basics/register_logger.c +2 more+1 -2660 replies
15/22drm/amd/display: drop get platform infodrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c drivers/gpu/drm/amd/display/dc/dm_services.h+0 -390 replies
16/22drm/amd/display: drop setmode complete notifierdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c+0 -130 replies
17/22drm/amd/display: Move dpcd structs into dp_types headerdrivers/gpu/drm/amd/display/dc/core/dc_link.c drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c drivers/gpu/drm/amd/display/dc/dc.h +3 more+361 -3600 replies
18/22drm/amd/display: port to using drm dpcd definesdrivers/gpu/drm/amd/display/dc/core/dc_link.c drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +2 more+79 -3000 replies
19/22drm/amd/display: assign correct enum for edp revisiondrivers/gpu/drm/amd/display/dc/core/dc_link_dp.c drivers/gpu/drm/amd/display/include/dpcd_defs.h+1 -170 replies
20/22drm/amd/display: Framework for degamma and regramma through color moduledrivers/gpu/drm/amd/display/modules/color/color.c drivers/gpu/drm/amd/display/modules/color/color_helper.h drivers/gpu/drm/amd/display/modules/inc/mod_color.h+598 -940 replies
21/22drm/amd/display: Fix Regamma end pointdrivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c drivers/gpu/drm/amd/display/dc/dce/dce_opp.c+26 -120 replies
22/22drm/amd/display: 4k split black out due to incorrect cursordrivers/gpu/drm/amd/display/dc/core/dc_target.c drivers/gpu/drm/amd/display/dc/dc_hw_types.h drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp.h +2 more+53 -480 replies

Reviews trailers per patch

All 22 patches have a Reviewed-by or Acked-by.

PatchTony ChengHarry WentlandAric CyrJordan LazareAnthony KooYongqiang Sun
1/22R-b A-b
2/22A-b A-b R-b R-b
3/22R-b A-b
4/22A-b R-b
5/22A-b R-b
6/22R-b A-b
7/22A-b R-b
8/22A-b R-b
9/22R-b A-b
10/22A-b R-b
11/22A-b R-b
12/22R-b A-b
13/22R-b A-b
14/22R-b A-b
15/22R-b A-b
16/22R-b A-b
17/22R-b A-b
18/22R-b A-b
19/22R-b A-b
20/22A-b R-b
21/22A-b R-b
22/22A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 00/22] DC Patches Dec 20, 2016

* Bunch of cleanups by Dave Airlie
* Some gamma fixes and refactors
* OPP refactor to follow new reg access model

Amy Zhang (1):
drm/amd/display: Framework for degamma and regramma through color
module

Anthony Koo (7):
drm/amd/display: Refactor to move color helper into module drm/amd/display: Refactor output transfer function to stream drm/amd/display: Refactor to move gamma correction to module drm/amd/display: Implement PQ curve based on output transfer function drm/amd/display: Fix distribution of segments for PQ drm/amd/display: Fix programming of gamma end points drm/amd/display: Fix Regamma end point

Dave Airlie (7):
drm/amd/display: remove dc hub - this seems unused. drm/amd/display: remove some unused wrappers drm/amd/display: drop register logger and pid/tgid getters drm/amd/display: drop get platform info drm/amd/display: drop setmode complete notifier drm/amd/display: port to using drm dpcd defines drm/amd/display: assign correct enum for edp revision

Dmytro Laktyushkin (1):
drm/amd/display: define reg helpers to update registers with 8 and 9
fields

Harry Wentland (1):
drm/amd/display: Move dpcd structs into dp_types header

Roman Li (1):
drm/amd/display: fix hotplug regression after code refactor

Tony Cheng (1):
drm/amd/display: 4k split black out due to incorrect cursor

Yongqiang Sun (2):
drm/amd/display: Resolved HDMI assert in dal drm/amd/display: Add debug option to disable dmcu

Zeyu Fan (1):
drm/amd/display: OPP refactor and consolidation for DCE.

 .../drm/amd/display/amdgpu_dm/amdgpu_dm_services.c |  34 -
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c    |  11 +
 drivers/gpu/drm/amd/display/dc/basics/Makefile     |   2 +-
 .../drm/amd/display/dc/basics/register_logger.c    | 197 ----
 drivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c | 209 ++++-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  50 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |   9 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c  |   2 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   | 146 +--
 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c |   3 +-
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   3 +
 drivers/gpu/drm/amd/display/dc/core/dc_surface.c   |   3 -
 drivers/gpu/drm/amd/display/dc/core/dc_target.c    |  83 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |  26 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       | 359 ++++++++
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h       |   9 +
 drivers/gpu/drm/amd/display/dc/dce/Makefile        |   2 +-
 .../gpu/drm/amd/display/dc/dce/dce_link_encoder.c  |   3 +
 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c       | 996 +++++++++++++++++++++
 drivers/gpu/drm/amd/display/dc/dce/dce_opp.h       | 418 +++++++++
 .../drm/amd/display/dc/dce/dce_stream_encoder.c    |   8 +-
 .../drm/amd/display/dc/dce100/dce100_resource.c    |  61 +-
 drivers/gpu/drm/amd/display/dc/dce110/Makefile     |   4 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |  68 +-
 drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp.h |   3 +-
 .../drm/amd/display/dc/dce110/dce110_ipp_cursor.c  |   3 +-
 .../drm/amd/display/dc/dce110/dce110_mem_input.c   |   1 -
 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp.c |  77 --
 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp.h | 149 ---
 .../gpu/drm/amd/display/dc/dce110/dce110_opp_csc.c | 363 --------
 .../drm/amd/display/dc/dce110/dce110_opp_csc_v.c   |   2 +-
 .../amd/display/dc/dce110/dce110_opp_formatter.c   | 627 -------------
 .../drm/amd/display/dc/dce110/dce110_opp_regamma.c | 537 -----------
 .../amd/display/dc/dce110/dce110_opp_regamma_v.c   |   2 +-
 .../gpu/drm/amd/display/dc/dce110/dce110_opp_v.c   |   2 +-
 .../drm/amd/display/dc/dce110/dce110_resource.c    |  60 +-
 drivers/gpu/drm/amd/display/dc/dce112/Makefile     |   3 +-
 drivers/gpu/drm/amd/display/dc/dce112/dce112_opp.c |  72 --
 drivers/gpu/drm/amd/display/dc/dce112/dce112_opp.h |  48 -
 .../amd/display/dc/dce112/dce112_opp_formatter.c   | 215 -----
 .../drm/amd/display/dc/dce112/dce112_resource.c    |  70 +-
 drivers/gpu/drm/amd/display/dc/dce80/Makefile      |   5 +-
 .../gpu/drm/amd/display/dc/dce80/dce80_mem_input.c |   1 -
 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp.c   | 136 ---
 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp.h   | 130 ---
 .../gpu/drm/amd/display/dc/dce80/dce80_opp_csc.c   | 363 --------
 .../drm/amd/display/dc/dce80/dce80_opp_formatter.c | 577 ------------
 .../drm/amd/display/dc/dce80/dce80_opp_regamma.c   | 543 -----------
 .../gpu/drm/amd/display/dc/dce80/dce80_resource.c  |  45 +-
 drivers/gpu/drm/amd/display/dc/dm_services.h       |  48 -
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |   3 +
 drivers/gpu/drm/amd/display/dc/inc/gamma_calcs.h   |   3 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h        |   3 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h  |   2 -
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |   7 +-
 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h    |  25 +
 .../drm/amd/display/include/dal_register_logger.h  |  42 -
 drivers/gpu/drm/amd/display/include/dpcd_defs.h    | 597 +-----------
 .../drm/amd/display/include/link_service_types.h   |   1 -
 drivers/gpu/drm/amd/display/modules/color/color.c  | 652 ++++++++++++--
 .../drm/amd/display/modules/color/color_helper.c   | 199 ++++
 .../drm/amd/display/modules/color/color_helper.h   |  50 ++
 .../gpu/drm/amd/display/modules/inc/mod_color.h    | 123 ++-
 63 files changed, 3280 insertions(+), 5215 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/display/dc/basics/register_logger.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dce/dce_opp.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_csc.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_formatter.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce112/dce112_opp.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce112/dce112_opp.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce112/dce112_opp_formatter.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp_csc.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp_formatter.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dce80/dce80_opp_regamma.c
 delete mode 100644 drivers/gpu/drm/amd/display/include/dal_register_logger.h
 create mode 100644 drivers/gpu/drm/amd/display/modules/color/color_helper.c
 create mode 100644 drivers/gpu/drm/amd/display/modules/color/color_helper.h
Signature · 6 lines
2.9.3

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx