From: Imre Deak <imre.deak@intel.com>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: [PATCH 0/9] drm/i915: Dump DSC state to dmesg/debugfs
Date: Fri, 14 Jun 2024 20:39:00 +0300 [thread overview]
Message-ID: <20240614173911.3743172-1-imre.deak@intel.com> (raw)
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
next reply other threads:[~2024-06-14 17:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 17:39 Imre Deak [this message]
2024-06-14 17:39 ` [PATCH 1/9] drm: Add helpers for x16 fixed point values Imre Deak
2024-06-19 10:10 ` Jani Nikula
2024-06-19 12:00 ` Imre Deak
2024-06-25 16:08 ` Imre Deak
2024-06-27 15:41 ` Jani Nikula
2024-06-28 14:09 ` Imre Deak
2024-06-14 17:39 ` [PATCH 2/9] drm/display/dsc: Add a helper to dump the DSC configuration Imre Deak
2024-06-14 17:39 ` [PATCH 3/9] drm/i915: Replace to_bpp_x16() with drm_x16_from_int() Imre Deak
2024-06-14 17:39 ` [PATCH 4/9] drm/i915: Replace to_bpp_int() with drm_x16_to_int() Imre Deak
2024-06-14 17:39 ` [PATCH 5/9] drm/i915: Replace to_bpp_int_roundup() with drm_x16_to_int_roundup() Imre Deak
2024-06-14 17:39 ` [PATCH 6/9] drm/i915: Replace to_bpp_frac() with drm_x16_to_frac() Imre Deak
2024-06-14 17:39 ` [PATCH 7/9] drm/i915: Replace BPP_X16_FMT()/ARGS() with DRM_X16_FMT()/ARGS() Imre Deak
2024-06-14 17:39 ` [PATCH 8/9] drm/i915: Dump DSC state to dmesg and debugfs/i915_display_info Imre Deak
2024-06-14 17:39 ` [PATCH 9/9] drm/i915: Remove DSC register dump Imre Deak
2024-06-14 19:07 ` ✗ Fi.CI.BUILD: warning for drm/i915: Dump DSC state to dmesg/debugfs Patchwork
2024-06-14 19:07 ` ✗ Fi.CI.CHECKPATCH: " Patchwork
2024-06-14 19:07 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-06-14 19:27 ` ✓ Fi.CI.BAT: success " Patchwork
2024-06-17 7:59 ` ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240614173911.3743172-1-imre.deak@intel.com \
--to=imre.deak@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox