diff options
| author | Clarence Ip <cip@codeaurora.org> | 2016-09-23 15:03:34 -0400 |
|---|---|---|
| committer | Clarence Ip <cip@codeaurora.org> | 2016-10-05 10:54:00 -0400 |
| commit | 1f819168bd4460619d250e1053886ffa7175d724 (patch) | |
| tree | 03dfb8707c161254c41d35b6adce0be24298ebad /include/uapi/drm | |
| parent | e3d64dab54a86784d7e7dab4dfd576febbef1996 (diff) | |
drm/msm/sde: update csc property definition and type
Blob properties under DRM require a new blob to be created for
each unique set of incoming data. By changing the csc property
to accept an incoming user space pointer and using copy_from_user
to explicitly copy out the structure data each time the property
is set, the user space client avoids the need to create new
DRM blob objects when the csc configuration needs to be updated.
Change-Id: I7586d407ef9d65a927c93b59cdd0128cef498378
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Diffstat (limited to 'include/uapi/drm')
| -rw-r--r-- | include/uapi/drm/sde_drm.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/uapi/drm/sde_drm.h b/include/uapi/drm/sde_drm.h index bcd64c23eb14..35b3bc782921 100644 --- a/include/uapi/drm/sde_drm.h +++ b/include/uapi/drm/sde_drm.h @@ -188,10 +188,6 @@ struct sde_drm_scaler { #define SDE_CSC_CLAMP_SIZE 6 #define SDE_CSC_BIAS_SIZE 3 -/* CSC version definition, see top of file for guidelines */ -#define SDE_DRM_CSC_V1 0x1 -#define SDE_DRM_CSC_VERSION SDE_DRM_CSC_V1 - /** * struct sde_drm_csc_v1 - version 1 of struct sde_drm_csc * @ctm_coeff: Matrix coefficients, in S31.32 format @@ -208,18 +204,6 @@ struct sde_drm_csc_v1 { uint32_t post_clamp[SDE_CSC_CLAMP_SIZE]; }; -/** - * struct sde_drm_csc - CSC configuration structure - * @version: Structure version, set to SDE_DRM_CSC_VERSION - * @v1: Version 1 of csc structure - */ -struct sde_drm_csc { - uint64_t version; - union { - struct sde_drm_csc_v1 v1; - }; -}; - /* Writeback Config version definition */ #define SDE_DRM_WB_CFG 0x1 |
