From: Imre Deak <imre.deak@intel.com>
To: "Jouni Högander" <jouni.hogander@intel.com>
Cc: intel-gfx@lists.freedesktop.org, animesh.manna@intel.com
Subject: Re: [PATCH 2/3] drm/i915/psr: Add connector debugfs files for MST connector as well
Date: Thu, 5 Sep 2024 15:51:12 +0300 [thread overview]
Message-ID: <ZtmpQD2mGN5BOIFY@ideak-desk.fi.intel.com> (raw)
In-Reply-To: <20240904101834.2415385-3-jouni.hogander@intel.com>
On Wed, Sep 04, 2024 at 01:18:33PM +0300, Jouni Högander wrote:
> Connector debugfs files are currently not add for MST connector. We
> can now add them as we have taken into account possibility to have
> NULL in connector->encoder in intel_attached_dp.
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_psr.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 257526362b39a..26af8bea05d32 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -3799,9 +3799,8 @@ void intel_psr_connector_debugfs_add(struct intel_connector *connector)
> struct dentry *root = connector->base.debugfs_entry;
>
> /* TODO: Add support for MST connectors as well. */
> - if ((connector->base.connector_type != DRM_MODE_CONNECTOR_eDP &&
> - connector->base.connector_type != DRM_MODE_CONNECTOR_DisplayPort) ||
> - connector->mst_port)
> + if (connector->base.connector_type != DRM_MODE_CONNECTOR_eDP &&
> + connector->base.connector_type != DRM_MODE_CONNECTOR_DisplayPort)
Looks ok:
Reviewed-by: Imre Deak <imre.deak@intel.com>
The TODO: comment above could be also removed.
> return;
>
> debugfs_create_file("i915_psr_sink_status", 0444, root,
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-09-05 12:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 10:18 [PATCH 0/3] DP2.1 Panel Replay Fixes Jouni Högander
2024-09-04 10:18 ` [PATCH 1/3] drm/i915/display: Handle MST connector in intel_attached_dp Jouni Högander
2024-09-05 12:48 ` Imre Deak
2024-09-04 10:18 ` [PATCH 2/3] drm/i915/psr: Add connector debugfs files for MST connector as well Jouni Högander
2024-09-05 12:51 ` Imre Deak [this message]
2024-09-04 10:18 ` [PATCH 3/3] drm/i915/psr: Do not wait for PSR being idle on on Panel Replay Jouni Högander
2024-09-04 12:20 ` ✗ Fi.CI.SPARSE: warning for DP2.1 Panel Replay Fixes Patchwork
2024-09-04 12:32 ` ✓ Fi.CI.BAT: success " Patchwork
2024-09-05 11:37 ` ✗ 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=ZtmpQD2mGN5BOIFY@ideak-desk.fi.intel.com \
--to=imre.deak@intel.com \
--cc=animesh.manna@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jouni.hogander@intel.com \
/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.