[PATCH 0/9] drm/i915: Dump DSC state to dmesg/debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a DRM core helper to dump the DSC state and take this into use in
the i915 driver to dump the state to dmesg after state computation and
HW readout as well as to the i915_display_info debugfs entry. The state
contains an x16 fixed point value, so also move the corresponding
bpp_x16 helpers from i915 to DRM core.

Imre Deak (9):
  drm: Add helpers for x16 fixed point values
  drm/display/dsc: Add a helper to dump the DSC configuration
  drm/i915: Replace to_bpp_x16() with drm_x16_from_int()
  drm/i915: Replace to_bpp_int() with drm_x16_to_int()
  drm/i915: Replace to_bpp_int_roundup() with drm_x16_to_int_roundup()
  drm/i915: Replace to_bpp_frac() with drm_x16_to_frac()
  drm/i915: Replace BPP_X16_FMT()/ARGS() with DRM_X16_FMT()/ARGS()
  drm/i915: Dump DSC state to dmesg and debugfs/i915_display_info
  drm/i915: Remove DSC register dump

 drivers/gpu/drm/display/drm_dp_helper.c       |  5 +-
 drivers/gpu/drm/display/drm_dsc_helper.c      | 91 +++++++++++++++++++
 drivers/gpu/drm/i915/display/icl_dsi.c        |  9 +-
 drivers/gpu/drm/i915/display/intel_audio.c    |  5 +-
 drivers/gpu/drm/i915/display/intel_bios.c     |  5 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c    |  4 +-
 .../drm/i915/display/intel_crtc_state_dump.c  |  3 +
 drivers/gpu/drm/i915/display/intel_display.c  |  7 +-
 .../drm/i915/display/intel_display_debugfs.c  |  4 +
 .../drm/i915/display/intel_display_types.h    | 23 -----
 drivers/gpu/drm/i915/display/intel_dp.c       | 51 ++++++-----
 drivers/gpu/drm/i915/display/intel_dp_mst.c   | 26 +++---
 drivers/gpu/drm/i915/display/intel_fdi.c      |  6 +-
 drivers/gpu/drm/i915/display/intel_link_bw.c  |  4 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c     | 51 ++++++-----
 drivers/gpu/drm/i915/display/intel_vdsc.h     |  4 +
 include/drm/display/drm_dsc_helper.h          |  3 +
 include/drm/drm_fixed.h                       | 23 +++++
 18 files changed, 221 insertions(+), 103 deletions(-)

-- 
2.43.3




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux