From: Manasi Navare <manasi.d.navare@intel.com>
To: Imre Deak <imre.deak@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors
Date: Tue, 9 Jun 2020 12:00:14 -0700 [thread overview]
Message-ID: <20200609190014.GB26705@intel.com> (raw)
In-Reply-To: <20200609184140.4937-1-imre.deak@intel.com>
On Tue, Jun 09, 2020 at 09:41:40PM +0300, Imre Deak wrote:
> DSC is not supported on DP MST streams so just don't add this entry for
> MST connectors.
>
> This also fixes an OOPS, caused by the encoder->digport cast, which is
> not valid for MST encoders.
>
> v2:
> - Check encoder, which is unset for an MST connector, before it gets
> enabled.
> v3:
> - Just don't add this debugfs file for MST connectors. (Ville)
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Imre Deak <imre.deak@intel.com>
Yes now just not having this debugfs entry for MST connectors makes sense
once we support it on MST we can expose it the right way
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Manasi
> ---
> drivers/gpu/drm/i915/display/intel_display_debugfs.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> index 2b640d8ab9d2..28dd717e943a 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> @@ -2218,7 +2218,8 @@ int intel_connector_debugfs_add(struct drm_connector *connector)
> }
>
> if (INTEL_GEN(dev_priv) >= 10 &&
> - (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
> + ((connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort &&
> + !to_intel_connector(connector)->mst_port) ||
> connector->connector_type == DRM_MODE_CONNECTOR_eDP))
> debugfs_create_file("i915_dsc_fec_support", S_IRUGO, root,
> connector, &i915_dsc_fec_support_fops);
> --
> 2.23.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-06-09 18:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 18:10 [Intel-gfx] [PATCH] drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors Imre Deak
2020-06-08 18:26 ` [Intel-gfx] [PATCH v2] " Imre Deak
2020-06-09 18:41 ` [Intel-gfx] [PATCH] " Imre Deak
2020-06-09 19:00 ` Manasi Navare [this message]
2020-06-08 18:58 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors (rev2) Patchwork
2020-06-08 20:14 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-06-09 15:05 ` [Intel-gfx] [PATCH] drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors Ville Syrjälä
2020-06-09 17:40 ` Imre Deak
2020-06-09 17:59 ` Ville Syrjälä
2020-06-09 18:08 ` Imre Deak
2020-06-09 18:56 ` Manasi Navare
2020-06-09 19:13 ` Imre Deak
2020-06-09 19:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors (rev3) Patchwork
2020-06-09 20:58 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-06-11 10:41 ` Imre Deak
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=20200609190014.GB26705@intel.com \
--to=manasi.d.navare@intel.com \
--cc=imre.deak@intel.com \
--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 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.