All of lore.kernel.org
 help / color / mirror / Atom feed
From: Abhinav Kumar <quic_abhinavk@quicinc.com>
To: <freedreno@lists.freedesktop.org>
Cc: markyacoub@chromium.org, liviu.dudau@arm.com,
	Abhinav Kumar <quic_abhinavk@quicinc.com>,
	dri-devel@lists.freedesktop.org, swboyd@chromium.org,
	seanpaul@chromium.org, laurent.pinchart@ideasonboard.com,
	dmitry.baryshkov@linaro.org, quic_jesszhan@quicinc.com,
	quic_aravindh@quicinc.com
Subject: [PATCH v5 17/19] drm/msm/dpu: add writeback blocks to the display snapshot
Date: Sun, 24 Apr 2022 17:32:08 -0700	[thread overview]
Message-ID: <1650846730-19226-18-git-send-email-quic_abhinavk@quicinc.com> (raw)
In-Reply-To: <1650846730-19226-1-git-send-email-quic_abhinavk@quicinc.com>

Add writeback block information while capturing the display
snapshot.

Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
index 9a406e1..b18bff8 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@ -945,6 +945,11 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
 		msm_disp_snapshot_add_block(disp_state, cat->mixer[i].len,
 				dpu_kms->mmio + cat->mixer[i].base, "lm_%d", i);
 
+	/* dump WB sub-blocks HW regs info */
+	for (i = 0; i < cat->wb_count; i++)
+		msm_disp_snapshot_add_block(disp_state, cat->wb[i].len,
+				dpu_kms->mmio + cat->wb[i].base, "wb_%d", i);
+
 	msm_disp_snapshot_add_block(disp_state, top->hw.length,
 			dpu_kms->mmio + top->hw.blk_off, "top");
 
-- 
2.7.4


  parent reply	other threads:[~2022-04-25  0:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25  0:31 [PATCH v5 00/19] Add writeback block support for DPU Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 01/19] drm: allow passing possible_crtcs to drm_writeback_connector_init() Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 02/19] drm: introduce drm_writeback_connector_init_with_encoder() API Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 03/19] drm/msm/dpu: add writeback blocks to the sm8250 DPU catalog Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 04/19] drm/msm/dpu: add reset_intf_cfg operation for dpu_hw_ctl Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 05/19] drm/msm/dpu: rename dpu_hw_pipe_cdp_cfg to dpu_hw_cdp_cfg Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 06/19] drm/msm/dpu: add dpu_hw_wb abstraction for writeback blocks Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 07/19] drm/msm/dpu: add writeback blocks to DPU RM Abhinav Kumar
2022-04-25  0:31 ` [PATCH v5 08/19] drm/msm/dpu: add changes to support writeback in hw_ctl Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 09/19] drm/msm/dpu: add an API to reset the encoder related hw blocks Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 10/19] drm/msm/dpu: make changes to dpu_encoder to support virtual encoder Abhinav Kumar
2022-04-26  0:21   ` Dmitry Baryshkov
2022-04-26  0:44     ` Abhinav Kumar
2022-04-26  0:46       ` Dmitry Baryshkov
2022-04-25  0:32 ` [PATCH v5 11/19] drm/msm/dpu: add encoder operations to prepare/cleanup wb job Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 12/19] drm/msm/dpu: move _dpu_plane_get_qos_lut to dpu_hw_util file Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 13/19] drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 14/19] drm/msm/dpu: add the writeback connector layer Abhinav Kumar
2022-04-26  0:20   ` Dmitry Baryshkov
2022-04-25  0:32 ` [PATCH v5 15/19] drm/msm/dpu: initialize dpu encoder and connector for writeback Abhinav Kumar
2022-04-26  0:32   ` Laurent Pinchart
2022-04-26  0:42     ` Abhinav Kumar
2022-04-26  2:11     ` Dmitry Baryshkov
2022-04-26 14:56       ` Laurent Pinchart
2022-04-26 14:59         ` Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 16/19] drm/msm/dpu: gracefully handle null fb commits " Abhinav Kumar
2022-04-25  0:32 ` Abhinav Kumar [this message]
2022-04-25  0:32 ` [PATCH v5 18/19] drm/msm/dpu: add wb_idx to existing DRM prints in dpu_encoder Abhinav Kumar
2022-04-25  0:32 ` [PATCH v5 19/19] drm/msm/dpu: add wb_idx to DRM traces " Abhinav Kumar

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=1650846730-19226-18-git-send-email-quic_abhinavk@quicinc.com \
    --to=quic_abhinavk@quicinc.com \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=liviu.dudau@arm.com \
    --cc=markyacoub@chromium.org \
    --cc=quic_aravindh@quicinc.com \
    --cc=quic_jesszhan@quicinc.com \
    --cc=seanpaul@chromium.org \
    --cc=swboyd@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.