All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: dri-devel@lists.freedesktop.org
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Subject: Re: [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change
Date: Mon, 26 Sep 2016 10:31:28 +0300	[thread overview]
Message-ID: <87h993ktgv.fsf@intel.com> (raw)
In-Reply-To: <1474612401-2639-1-git-send-email-dhinakaran.pandiyan@intel.com>

On Fri, 23 Sep 2016, Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> wrote:
> The positions of primary and overlay plane type enums in the kernel were
> updated in
>
> 	    drm/doc: Polish for drm_plane.[hc]
>
> So, making the change here as well.

NAK. That was a regression in the kernel, and fixed in the kernel.

BR,
Jani.

>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> ---
>  xf86drmMode.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/xf86drmMode.h b/xf86drmMode.h
> index 4de7bbb..718b34f 100644
> --- a/xf86drmMode.h
> +++ b/xf86drmMode.h
> @@ -305,9 +305,9 @@ typedef struct _drmModeConnector {
>  	uint32_t *encoders; /**< List of encoder ids */
>  } drmModeConnector, *drmModeConnectorPtr;
>  
> -#define DRM_PLANE_TYPE_OVERLAY 0
> -#define DRM_PLANE_TYPE_PRIMARY 1
> -#define DRM_PLANE_TYPE_CURSOR  2
> +#define DRM_PLANE_TYPE_PRIMARY 0
> +#define DRM_PLANE_TYPE_CURSOR  1
> +#define DRM_PLANE_TYPE_OVERLAY 2
>  
>  typedef struct _drmModeObjectProperties {
>  	uint32_t count_props;

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2016-09-26  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23  6:33 [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change Dhinakaran Pandiyan
2016-09-26  7:31 ` Jani Nikula [this message]
2016-10-06 13:40 ` Emil Velikov

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=87h993ktgv.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dhinakaran.pandiyan@intel.com \
    --cc=dri-devel@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.