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

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.