Re: [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Sep 2016, Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx> 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@xxxxxxxx>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux