mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
lib/kms: Provide universal plane #define's
There hasn't been a libdrm release containing the universal plane definitions yet, so add them to igt_kms to allow compilation to succeed in the meantime. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
80a4a4fd43
commit
c8b8f8abf6
@ -42,6 +42,20 @@
|
||||
#include "igt_kms.h"
|
||||
#include "igt_aux.h"
|
||||
|
||||
/*
|
||||
* There hasn't been a release of libdrm containing these #define's yet, so
|
||||
* copy them here to allow compilation to succeed in the mean time.
|
||||
*
|
||||
* We can drop these #define's and just make i-g-t depend on the proper libdrm
|
||||
* version in the future.
|
||||
*/
|
||||
#define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2
|
||||
#define DRM_PLANE_TYPE_OVERLAY 0
|
||||
#define DRM_PLANE_TYPE_PRIMARY 1
|
||||
#define DRM_PLANE_TYPE_CURSOR 2
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:igt_kms
|
||||
* @short_description: Kernel modesetting support library
|
||||
|
Loading…
x
Reference in New Issue
Block a user