23#ifndef __DRM_BLEND_H__
24#define __DRM_BLEND_H__
28#include <drm/drm_mode.h>
30#define DRM_MODE_BLEND_PREMULTI 0
31#define DRM_MODE_BLEND_COVERAGE 1
32#define DRM_MODE_BLEND_PIXEL_NONE 2
39static inline bool drm_rotation_90_or_270(
unsigned int rotation)
44#define DRM_BLEND_ALPHA_OPAQUE 0xffff
48 unsigned int rotation,
49 unsigned int supported_rotations);
51 unsigned int supported_rotations);
55 unsigned int min,
unsigned int max);
61 unsigned int supported_modes);
#define DRM_MODE_ROTATE_90
Definition drm_mode.h:168
#define DRM_MODE_ROTATE_270
Definition drm_mode.h:170
unsigned int drm_rotation_simplify(unsigned int rotation, unsigned int supported_rotations)
int drm_plane_create_alpha_property(struct drm_plane *plane)
void drm_crtc_attach_background_color_property(struct drm_crtc *crtc)
int drm_plane_create_blend_mode_property(struct drm_plane *plane, unsigned int supported_modes)
int drm_plane_create_rotation_property(struct drm_plane *plane, unsigned int rotation, unsigned int supported_rotations)
int drm_plane_create_zpos_property(struct drm_plane *plane, unsigned int zpos, unsigned int min, unsigned int max)
int drm_atomic_normalize_zpos(struct drm_device *dev, struct drm_atomic_commit *state)
int drm_plane_create_zpos_immutable_property(struct drm_plane *plane, unsigned int zpos)
struct drm_crtc * crtc
Definition drm_crtc.h:1238
struct drm_plane * plane
Definition drm_plane.h:828
const struct device * dev
Definition drm_print.h:519
#define min(a, b)
Definition minmax.h:24
#define max(a, b)
Definition minmax.h:28
Definition drm_atomic.h:480
Definition drm_crtc.h:955
Definition drm_device.h:75
Definition drm_plane.h:641