All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change
@ 2016-09-23  6:33 Dhinakaran Pandiyan
  2016-09-26  7:31 ` Jani Nikula
  2016-10-06 13:40 ` Emil Velikov
  0 siblings, 2 replies; 3+ messages in thread
From: Dhinakaran Pandiyan @ 2016-09-23  6:33 UTC (permalink / raw)
  To: dri-devel; +Cc: Daniel Vetter, Dhinakaran Pandiyan

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.

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;
-- 
2.5.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change
  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
  2016-10-06 13:40 ` Emil Velikov
  1 sibling, 0 replies; 3+ messages in thread
From: Jani Nikula @ 2016-09-26  7:31 UTC (permalink / raw)
  To: dri-devel; +Cc: Daniel Vetter, Dhinakaran Pandiyan

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libdrm: Update plane type enum definitions to correspond to kernel change
  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
@ 2016-10-06 13:40 ` Emil Velikov
  1 sibling, 0 replies; 3+ messages in thread
From: Emil Velikov @ 2016-10-06 13:40 UTC (permalink / raw)
  To: Dhinakaran Pandiyan; +Cc: Daniel Vetter, ML dri-devel

Hi Dhinakaran,

On 23 September 2016 at 07:33, 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.
>
Obviously the issue is/has been fixed elsewhere, so just a general comment:

One must _not_ break API/ABI without bumping the library major. Unless
you hate your users and you want them to suffer, that is ;-)

Regards,
Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-06 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-10-06 13:40 ` Emil Velikov

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.