XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_shadow_plane_state Struct Reference

#include <drm_gem_atomic_helper.h>

Collaboration diagram for drm_shadow_plane_state:
Collaboration graph
[legend]

Public Attributes

struct drm_plane_state base
 
struct drm_format_conv_state fmtcnv_state
 
struct iosys_map map [DRM_FORMAT_MAX_PLANES]
 
struct iosys_map data [DRM_FORMAT_MAX_PLANES]
 

Detailed Description

struct drm_shadow_plane_state - plane state for planes with shadow buffers

For planes that use a shadow buffer, struct drm_shadow_plane_state provides the regular plane state plus mappings of the shadow buffer into kernel address space.

Member Data Documentation

◆ base

struct drm_plane_state drm_shadow_plane_state::base

@base: plane state

◆ data

struct iosys_map drm_shadow_plane_state::data[DRM_FORMAT_MAX_PLANES]

@data: Address of each framebuffer BO's data

The address of the data stored in each mapping. This is different for framebuffers with non-zero offset fields.

◆ fmtcnv_state

struct drm_format_conv_state drm_shadow_plane_state::fmtcnv_state

@fmtcnv_state: Format-conversion state

Per-plane state for format conversion. Flags for copying shadow buffers into backend storage. Also holds temporary storage for format conversion.

◆ map

struct iosys_map drm_shadow_plane_state::map[DRM_FORMAT_MAX_PLANES]

@map: Mappings of the plane's framebuffer BOs in to kernel address space

The memory mappings stored in map should be established in the plane's prepare_fb callback and removed in the cleanup_fb callback.


The documentation for this struct was generated from the following file: