All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Shankar, Uma" <uma.shankar@intel.com>
Cc: "Syrjala, Ville" <ville.syrjala@intel.com>,
	"jonas@kwiboo.se" <jonas@kwiboo.se>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"hansverk@cisco.com" <hansverk@cisco.com>,
	"Lankhorst, Maarten" <maarten.lankhorst@intel.com>
Subject: Re: [v3 2/3] drm: Add DP colorspace property
Date: Tue, 20 Nov 2018 17:25:06 +0200	[thread overview]
Message-ID: <20181120152506.GT9144@intel.com> (raw)
In-Reply-To: <E7C9878FBA1C6D42A1CA3F62AEB6945F81E37E92@BGSMSX104.gar.corp.intel.com>

On Tue, Nov 20, 2018 at 02:16:38PM +0000, Shankar, Uma wrote:
> 
> 
> >-----Original Message-----
> >From: Chris Wilson [mailto:chris@chris-wilson.co.uk]
> >Sent: Tuesday, November 20, 2018 7:41 PM
> >To: Shankar, Uma <uma.shankar@intel.com>; dri-devel@lists.freedesktop.org;
> >intel-gfx@lists.freedesktop.org
> >Cc: Syrjala, Ville <ville.syrjala@intel.com>; jonas@kwiboo.se;
> >hansverk@cisco.com; Shankar, Uma <uma.shankar@intel.com>; Lankhorst,
> >Maarten <maarten.lankhorst@intel.com>
> >Subject: Re: [v3 2/3] drm: Add DP colorspace property
> >
> >Quoting Uma Shankar (2018-11-20 14:22:10)
> >> @@ -1457,6 +1480,18 @@ int drm_mode_create_colorspace_property(struct
> >drm_connector *connector)
> >>                         return -ENOMEM;
> >>
> >>                 dev->mode_config.hdmi_colorspace_property = prop;
> >> +       } else if (connector->connector_type == DRM_MODE_CONNECTOR_eDP
> >||
> >> +               connector->connector_type ==
> >DRM_MODE_CONNECTOR_DisplayPort) {
> >> +               if (dev->mode_config.dp_colorspace_property)
> >> +                       return 0;
> >> +
> >> +               prop = drm_property_create_enum(dev, DRM_MODE_PROP_ENUM,
> >> +                                               "DP_Colorspace", dp_colorspace,
> >> +                                               ARRAY_SIZE(dp_colorspace));
> >> +               if (!prop)
> >> +                       return -ENOMEM;
> >
> >Why different names for DP/HDMI?
> There are some colorspaces specific to HDMI and DP, hence we created separate properties
> for these encoders.

Why does that require different names for the props?

> This is just to expose DP specifc colorspaces on a DP connector and same way
> for HDMI. Earlier, we had just one but it was giving DP stuff as well to a HDMI Connector and vice-versa
> which was not looking good.
> 
> Regards,
> Uma Shankar
> >-Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-11-20 15:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20 14:22 [v3 0/3] Add Colorspace connector property interface Uma Shankar
2018-11-20 14:22 ` [v3 1/3] drm: Add HDMI colorspace property Uma Shankar
2018-11-20 15:26   ` Ville Syrjälä
2018-11-27 15:21     ` Shankar, Uma
2018-11-20 14:22 ` [v3 2/3] drm: Add DP " Uma Shankar
2018-11-20 14:11   ` Chris Wilson
2018-11-20 14:16     ` Shankar, Uma
2018-11-20 15:25       ` Ville Syrjälä [this message]
2018-11-20 14:22 ` [v3 3/3] drm/i915: Attach colorspace property and enable modeset Uma Shankar
2018-11-20 15:22 ` ✗ Fi.CI.CHECKPATCH: warning for Add Colorspace connector property interface (rev3) Patchwork
2018-11-20 15:26 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-11-20 15:54 ` ✓ Fi.CI.BAT: success " Patchwork
2018-11-20 23:43 ` ✓ Fi.CI.IGT: " 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=20181120152506.GT9144@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hansverk@cisco.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jonas@kwiboo.se \
    --cc=maarten.lankhorst@intel.com \
    --cc=uma.shankar@intel.com \
    --cc=ville.syrjala@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.