diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-04-23 22:31:38 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-23 22:31:38 -0700 |
commit | 39aada5c280ab861d08c4177dc126d35643e2be7 (patch) | |
tree | fe7f5f74e1d5f2c4fe43c3932e014b0fb2169cff /libdrmutils | |
parent | 717f19da5b8db3838501759441505490d850c6a0 (diff) | |
parent | 5d30ab5e5fb26a182f1692218b4dfca14f593264 (diff) | |
download | display-39aada5c280ab861d08c4177dc126d35643e2be7.tar.gz |
Merge "drmutils: Add drm interface for SSPP Tonemapping"
Diffstat (limited to 'libdrmutils')
-rw-r--r-- | libdrmutils/drm_interface.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h index 6b9ec952..2aeb337b 100644 --- a/libdrmutils/drm_interface.h +++ b/libdrmutils/drm_interface.h @@ -162,6 +162,24 @@ enum struct DRMOps { */ PLANE_SET_ROT_FB_ID, /* + * Op: Sets inverse pma mode on this plane. + * Arg: uint32_t - Plane ID + * uint32_t - enable/disable inverse pma. + */ + PLANE_SET_INVERSE_PMA, + /* + * Op: Sets csc config on this plane. + * Arg: uint32_t - Plane ID + * uint64_t - Address of the csc config object(version based) + */ + PLANE_SET_DGM_CSC_CONFIG, + /* + * Op: Sets SSPP Feature + * Arg: uint32_t - Plane ID + * DRMPPFeatureInfo * - PP feature data pointer + */ + PLANE_SET_POST_PROC, + /* * Op: Activate or deactivate a CRTC * Arg: uint32_t - CRTC ID * uint32_t - 1 to enable, 0 to disable @@ -454,6 +472,13 @@ enum struct DRMPlaneType { MAX, }; +enum struct DRMTonemapLutType { + DMA_1D_GC, + DMA_1D_IGC, + VIG_1D_IGC, + VIG_3D_GAMUT, +}; + struct DRMPlaneTypeInfo { DRMPlaneType type; uint32_t master_plane_id; @@ -471,6 +496,9 @@ struct DRMPlaneTypeInfo { QSEEDStepVersion qseed3_version; bool multirect_prop_present = false; InlineRotationVersion inrot_version; // inline rotation version + bool inverse_pma = false; + uint32_t dgm_csc_version = 0; // csc used with DMA + std::map<DRMTonemapLutType, uint32_t> tonemap_lut_version_map = {}; }; // All DRM Planes as map<Plane_id , plane_type_info> listed from highest to lowest priority |