|
@@ -43,6 +43,7 @@ struct drm_modeset_acquire_ctx;
|
|
* plane (in 16.16)
|
|
* plane (in 16.16)
|
|
* @src_w: width of visible portion of plane (in 16.16)
|
|
* @src_w: width of visible portion of plane (in 16.16)
|
|
* @src_h: height of visible portion of plane (in 16.16)
|
|
* @src_h: height of visible portion of plane (in 16.16)
|
|
|
|
+ * @alpha: opacity of the plane
|
|
* @rotation: rotation of the plane
|
|
* @rotation: rotation of the plane
|
|
* @zpos: priority of the given plane on crtc (optional)
|
|
* @zpos: priority of the given plane on crtc (optional)
|
|
* Note that multiple active planes on the same crtc can have an identical
|
|
* Note that multiple active planes on the same crtc can have an identical
|
|
@@ -106,6 +107,9 @@ struct drm_plane_state {
|
|
uint32_t src_x, src_y;
|
|
uint32_t src_x, src_y;
|
|
uint32_t src_h, src_w;
|
|
uint32_t src_h, src_w;
|
|
|
|
|
|
|
|
+ /* Plane opacity */
|
|
|
|
+ u16 alpha;
|
|
|
|
+
|
|
/* Plane rotation */
|
|
/* Plane rotation */
|
|
unsigned int rotation;
|
|
unsigned int rotation;
|
|
|
|
|
|
@@ -496,6 +500,7 @@ enum drm_plane_type {
|
|
* @funcs: helper functions
|
|
* @funcs: helper functions
|
|
* @properties: property tracking for this plane
|
|
* @properties: property tracking for this plane
|
|
* @type: type of plane (overlay, primary, cursor)
|
|
* @type: type of plane (overlay, primary, cursor)
|
|
|
|
+ * @alpha_property: alpha property for this plane
|
|
* @zpos_property: zpos property for this plane
|
|
* @zpos_property: zpos property for this plane
|
|
* @rotation_property: rotation property for this plane
|
|
* @rotation_property: rotation property for this plane
|
|
* @helper_private: mid-layer private data
|
|
* @helper_private: mid-layer private data
|
|
@@ -571,6 +576,7 @@ struct drm_plane {
|
|
*/
|
|
*/
|
|
struct drm_plane_state *state;
|
|
struct drm_plane_state *state;
|
|
|
|
|
|
|
|
+ struct drm_property *alpha_property;
|
|
struct drm_property *zpos_property;
|
|
struct drm_property *zpos_property;
|
|
struct drm_property *rotation_property;
|
|
struct drm_property *rotation_property;
|
|
|
|
|