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

#include <drm_colorop.h>

Collaboration diagram for drm_colorop:
Collaboration graph
[legend]

Public Attributes

struct drm_device * dev
 
struct list_head head
 
unsigned int index
 
struct drm_mode_object base
 
struct drm_plane * plane
 
struct drm_colorop_state * state
 
struct drm_object_properties properties
 
enum drm_colorop_type type
 
struct drm_colorop * next
 
struct drm_property * type_property
 
struct drm_property * bypass_property
 
uint32_t size
 
struct drm_property * lut1d_interpolation_property
 
struct drm_property * curve_1d_type_property
 
struct drm_property * multiplier_property
 
struct drm_property * size_property
 
struct drm_property * lut3d_interpolation_property
 
struct drm_property * data_property
 
struct drm_property * next_property
 
const struct drm_colorop_funcs * funcs
 

Detailed Description

struct drm_colorop - DRM color operation control structure

A colorop represents one color operation. They can be chained via the 'next' pointer to build a color pipeline.

Since colorops cannot stand-alone and are used to describe colorop operations on a plane they don't have their own locking mechanism but are locked and programmed along with their associated &drm_plane.

Member Data Documentation

◆ base

struct drm_mode_object drm_colorop::base

@base: base mode object

◆ bypass_property

struct drm_property* drm_colorop::bypass_property

@bypass_property:

Boolean property to control enablement of the color operation. Only present if DRM_COLOROP_FLAG_ALLOW_BYPASS flag is set. When present, setting bypass to "true" shall always be supported to allow compositors to quickly fall back to alternate methods of color processing. This is important since setting color operations can fail due to unique HW constraints.

◆ curve_1d_type_property

struct drm_property* drm_colorop::curve_1d_type_property

@curve_1d_type_property:

Sub-type for DRM_COLOROP_1D_CURVE type.

◆ data_property

struct drm_property* drm_colorop::data_property

@data_property:

blob property for any TYPE that requires a blob of data, such as 1DLUT, CTM, 3DLUT, etc.

The way this blob is interpreted depends on the TYPE of this

◆ dev

struct drm_device* drm_colorop::dev

@dev: parent DRM device

◆ funcs

const struct drm_colorop_funcs* drm_colorop::funcs

@funcs: colorop control functions

◆ head

struct list_head drm_colorop::head

@head:

List of all colorops on @dev, linked from &drm_mode_config.colorop_list. Invariant over the lifetime of @dev and therefore does not need locking.

◆ index

unsigned int drm_colorop::index

@index: Position inside the mode_config.list, can be used as an array index. It is invariant over the lifetime of the colorop.

◆ lut1d_interpolation_property

struct drm_property* drm_colorop::lut1d_interpolation_property

@lut1d_interpolation_property:

Property for DRM_COLOROP_1D_LUT interpolation

◆ lut3d_interpolation_property

struct drm_property* drm_colorop::lut3d_interpolation_property

@lut3d_interpolation_property:

Property for DRM_COLOROP_3D_LUT interpolation

◆ multiplier_property

struct drm_property* drm_colorop::multiplier_property

@multiplier_property:

Multiplier property for plane gain

◆ next

struct drm_colorop* drm_colorop::next

@next:

Read-only Pointer to next drm_colorop in pipeline

◆ next_property

struct drm_property* drm_colorop::next_property

@next_property:

Read-only property to next colorop in the pipeline

◆ plane

struct drm_plane* drm_colorop::plane

@plane:

The plane on which the colorop sits. A drm_colorop is always unique to a plane.

◆ properties

struct drm_object_properties drm_colorop::properties

@properties: property tracking for this colorop

◆ size

uint32_t drm_colorop::size

@size:

Number of entries of the custom LUT. This should be read-only.

◆ size_property

struct drm_property* drm_colorop::size_property

@size_property:

Size property for custom LUT from userspace.

◆ state

struct drm_colorop_state* drm_colorop::state

@state:

Current atomic state for this colorop.

This is protected by @mutex. Note that nonblocking atomic commits access the current colorop state without taking locks.

◆ type

enum drm_colorop_type drm_colorop::type

@type:

Read-only Type of color operation

◆ type_property

struct drm_property* drm_colorop::type_property

@type_property:

Read-only "TYPE" property for specifying the type of this color operation. The type is enum drm_colorop_type.


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