diff options
| author | Dhaval Patel <pdhaval@quicinc.com> | 2016-10-03 16:27:46 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-03 16:27:46 -0700 |
| commit | 0cdce2744f8d171a491f4b54df8461b2f336e1c8 (patch) | |
| tree | 6aeb36863d68a7329f186490a3339ec10e960474 /include/uapi | |
| parent | fc2ed9a426a0e1ac1c7316505c91efb7b88bcb15 (diff) | |
| parent | d076f1df2de1643590fc1bdc3abd019a7d8e4910 (diff) | |
Merge "drm/msm: Initial version post processing header" into dev/msm-4.4-drm_kms
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/Kbuild | 1 | ||||
| -rw-r--r-- | include/uapi/drm/msm_drm_pp.h | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/include/uapi/drm/Kbuild b/include/uapi/drm/Kbuild index 186b4cb37d5c..c3c78a0d0052 100644 --- a/include/uapi/drm/Kbuild +++ b/include/uapi/drm/Kbuild @@ -19,3 +19,4 @@ header-y += vmwgfx_drm.h header-y += msm_drm.h header-y += virtgpu_drm.h header-y += sde_drm.h +header-y += msm_drm_pp.h diff --git a/include/uapi/drm/msm_drm_pp.h b/include/uapi/drm/msm_drm_pp.h new file mode 100644 index 000000000000..efe83a3ae38d --- /dev/null +++ b/include/uapi/drm/msm_drm_pp.h @@ -0,0 +1,45 @@ +#ifndef _MSM_DRM_PP_H_ +#define _MSM_DRM_PP_H_ + +#include <drm/drm.h> + +/** + * struct drm_msm_pcc_coeff - PCC coefficient structure for each color + * component. + * @c: constant coefficient. + * @r: red coefficient. + * @g: green coefficient. + * @b: blue coefficient. + * @rg: red green coefficient. + * @gb: green blue coefficient. + * @rb: red blue coefficient. + * @rgb: red blue green coefficient. + */ + +struct drm_msm_pcc_coeff { + __u32 c; + __u32 r; + __u32 g; + __u32 b; + __u32 rg; + __u32 gb; + __u32 rb; + __u32 rgb; +}; + +/** + * struct drm_msm_pcc - pcc feature structure + * flags: for enable/disable, read/write or customize operations + * r: red coefficients. + * g: green coefficients. + * b: blue coefficients. + */ + +struct drm_msm_pcc { + __u64 flags; + struct drm_msm_pcc_coeff r; + struct drm_msm_pcc_coeff g; + struct drm_msm_pcc_coeff b; +}; + +#endif /* _MSM_DRM_PP_H_ */ |
