All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 03/13] drm/i915: Convert intel_dp_mst connector properties to atomic.
Date: Wed, 12 Apr 2017 09:40:35 +0200	[thread overview]
Message-ID: <20170412074035.yqkml7k5eoxrzg7h@phenom.ffwll.local> (raw)
In-Reply-To: <1491545282-815-4-git-send-email-maarten.lankhorst@linux.intel.com>

On Fri, Apr 07, 2017 at 08:07:52AM +0200, Maarten Lankhorst wrote:
> MST doesn't support setting any properties, but it should still
> use the atomic helper for setting properties.
> 
> Only path and tile properties are supported (read-only).
> Those are immutable, and handled by drm core.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  drivers/gpu/drm/i915/intel_dp_mst.c | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
> index c1f62eb07c07..3fc345a76e6f 100644
> --- a/drivers/gpu/drm/i915/intel_dp_mst.c
> +++ b/drivers/gpu/drm/i915/intel_dp_mst.c
> @@ -294,14 +294,6 @@ intel_dp_mst_detect(struct drm_connector *connector, bool force)
>  	return drm_dp_mst_detect_port(connector, &intel_dp->mst_mgr, intel_connector->port);
>  }
>  
> -static int
> -intel_dp_mst_set_property(struct drm_connector *connector,
> -			  struct drm_property *property,
> -			  uint64_t val)
> -{
> -	return 0;
> -}
> -
>  static void
>  intel_dp_mst_connector_destroy(struct drm_connector *connector)
>  {
> @@ -318,8 +310,7 @@ static const struct drm_connector_funcs intel_dp_mst_connector_funcs = {
>  	.dpms = drm_atomic_helper_connector_dpms,
>  	.detect = intel_dp_mst_detect,
>  	.fill_modes = drm_helper_probe_single_connector_modes,
> -	.set_property = intel_dp_mst_set_property,
> -	.atomic_get_property = intel_connector_atomic_get_property,
> +	.set_property = drm_atomic_helper_connector_set_property,
>  	.late_register = intel_connector_register,
>  	.early_unregister = intel_connector_unregister,
>  	.destroy = intel_dp_mst_connector_destroy,
> -- 
> 2.7.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-04-12  7:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-07  6:07 [PATCH 00/13] drm/i915: Convert connector properties to atomic Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 01/13] drm/i915: Remove unused members from intel_tv.c Maarten Lankhorst
2017-04-12  7:33   ` Daniel Vetter
2017-04-07  6:07 ` [PATCH 02/13] drm/i915: Convert intel_tv connector properties to atomic, v5 Maarten Lankhorst
2017-04-12  7:38   ` Daniel Vetter
2017-04-12  7:43     ` Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 03/13] drm/i915: Convert intel_dp_mst connector properties to atomic Maarten Lankhorst
2017-04-12  7:40   ` Daniel Vetter [this message]
2017-04-07  6:07 ` [PATCH 04/13] drm/i915: Convert intel_crt " Maarten Lankhorst
2017-04-12  7:45   ` Daniel Vetter
2017-04-07  6:07 ` [PATCH 05/13] drm/i915: Convert intel DVO connector " Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 06/13] drm/i915: Add plumbing for digital connector state Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 07/13] drm/i915: Convert DSI connector properties to atomic Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 08/13] drm/i915: Convert LVDS " Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 09/13] drm/i915: Make intel_dp->has_audio reflect hw state only Maarten Lankhorst
2017-04-07  6:07 ` [PATCH 10/13] drm/i915: Convert intel_dp properties to atomic Maarten Lankhorst
2017-04-07  6:08 ` [PATCH 11/13] drm/i915: Convert intel_hdmi connector " Maarten Lankhorst
2017-04-07  6:08 ` [PATCH 12/13] drm/i915: Handle force_audio correctly in intel_sdvo Maarten Lankhorst
2017-04-07  6:08 ` [PATCH 13/13] drm/i915: Convert intel_sdvo connector properties to atomic Maarten Lankhorst
2017-04-07  6:27 ` ✗ Fi.CI.BAT: warning for drm/i915: Convert " 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=20170412074035.yqkml7k5eoxrzg7h@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.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.