XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
drm_plane_helper.h File Reference
#include <linux/types.h>
Include dependency graph for drm_plane_helper.h:

Go to the source code of this file.

Macros

#define DRM_PLANE_NON_ATOMIC_FUNCS
 

Functions

int drm_plane_helper_update_primary (struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx)
 
int drm_plane_helper_disable_primary (struct drm_plane *plane, struct drm_modeset_acquire_ctx *ctx)
 
void drm_plane_helper_destroy (struct drm_plane *plane)
 

Macro Definition Documentation

◆ DRM_PLANE_NON_ATOMIC_FUNCS

#define DRM_PLANE_NON_ATOMIC_FUNCS
Value:
int drm_plane_helper_disable_primary(struct drm_plane *plane, struct drm_modeset_acquire_ctx *ctx)
int drm_plane_helper_update_primary(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx)
void drm_plane_helper_destroy(struct drm_plane *plane)

DRM_PLANE_NON_ATOMIC_FUNCS - Default plane functions for non-atomic drivers

This macro initializes plane functions for non-atomic drivers to default values. Non-atomic interfaces are deprecated and should not be used in new drivers.

Function Documentation

◆ drm_plane_helper_destroy()

void drm_plane_helper_destroy ( struct drm_plane *  plane)

◆ drm_plane_helper_disable_primary()

int drm_plane_helper_disable_primary ( struct drm_plane *  plane,
struct drm_modeset_acquire_ctx *  ctx 
)

◆ drm_plane_helper_update_primary()

int drm_plane_helper_update_primary ( struct drm_plane *  plane,
struct drm_crtc *  crtc,
struct drm_framebuffer *  fb,
int  crtc_x,
int  crtc_y,
unsigned int  crtc_w,
unsigned int  crtc_h,
uint32_t  src_x,
uint32_t  src_y,
uint32_t  src_w,
uint32_t  src_h,
struct drm_modeset_acquire_ctx *  ctx 
)