diff mbox

[DPU,1/7] drm/msm: remove connector custom properties

Message ID 1527103862-13934-2-git-send-email-jsanka@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jeykumar Sankaran May 23, 2018, 7:30 p.m. UTC
Cleanup residual connector property enumerations.

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
---
 drivers/gpu/drm/msm/msm_drv.h | 27 ---------------------------
 1 file changed, 27 deletions(-)

Comments

Sean Paul June 4, 2018, 7:53 p.m. UTC | #1
On Wed, May 23, 2018 at 12:30:56PM -0700, Jeykumar Sankaran wrote:
> Cleanup residual connector property enumerations.
> 
> Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>

Reviewed-by: Sean Paul <seanpaul@chromium.org>

> ---
>  drivers/gpu/drm/msm/msm_drv.h | 27 ---------------------------
>  1 file changed, 27 deletions(-)
> 
> diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
> index 90a2521..954ac12 100644
> --- a/drivers/gpu/drm/msm/msm_drv.h
> +++ b/drivers/gpu/drm/msm/msm_drv.h
> @@ -140,32 +140,6 @@ enum msm_mdp_crtc_property {
>  	CRTC_PROP_COUNT
>  };
>  
> -enum msm_mdp_conn_property {
> -	/* blob properties, always put these first */
> -	CONNECTOR_PROP_DPU_INFO,
> -	CONNECTOR_PROP_HDR_INFO,
> -	CONNECTOR_PROP_PP_DITHER,
> -
> -	/* # of blob properties */
> -	CONNECTOR_PROP_BLOBCOUNT,
> -
> -	/* range properties */
> -	CONNECTOR_PROP_OUT_FB = CONNECTOR_PROP_BLOBCOUNT,
> -	CONNECTOR_PROP_DST_X,
> -	CONNECTOR_PROP_DST_Y,
> -	CONNECTOR_PROP_DST_W,
> -	CONNECTOR_PROP_DST_H,
> -	CONNECTOR_PROP_BL_SCALE,
> -	CONNECTOR_PROP_AD_BL_SCALE,
> -
> -	/* enum/bitmask properties */
> -	CONNECTOR_PROP_AUTOREFRESH,
> -	CONNECTOR_PROP_LP,
> -
> -	/* total # of properties */
> -	CONNECTOR_PROP_COUNT
> -};
> -
>  struct msm_vblank_ctrl {
>  	struct kthread_work work;
>  	struct list_head event_list;
> @@ -434,7 +408,6 @@ struct msm_drm_private {
>  	/* Properties */
>  	struct drm_property *plane_property[PLANE_PROP_COUNT];
>  	struct drm_property *crtc_property[CRTC_PROP_COUNT];
> -	struct drm_property *conn_property[CONNECTOR_PROP_COUNT];
>  
>  	/* Color processing properties for the crtc */
>  	struct drm_property **cp_property;
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
index 90a2521..954ac12 100644
--- a/drivers/gpu/drm/msm/msm_drv.h
+++ b/drivers/gpu/drm/msm/msm_drv.h
@@ -140,32 +140,6 @@  enum msm_mdp_crtc_property {
 	CRTC_PROP_COUNT
 };
 
-enum msm_mdp_conn_property {
-	/* blob properties, always put these first */
-	CONNECTOR_PROP_DPU_INFO,
-	CONNECTOR_PROP_HDR_INFO,
-	CONNECTOR_PROP_PP_DITHER,
-
-	/* # of blob properties */
-	CONNECTOR_PROP_BLOBCOUNT,
-
-	/* range properties */
-	CONNECTOR_PROP_OUT_FB = CONNECTOR_PROP_BLOBCOUNT,
-	CONNECTOR_PROP_DST_X,
-	CONNECTOR_PROP_DST_Y,
-	CONNECTOR_PROP_DST_W,
-	CONNECTOR_PROP_DST_H,
-	CONNECTOR_PROP_BL_SCALE,
-	CONNECTOR_PROP_AD_BL_SCALE,
-
-	/* enum/bitmask properties */
-	CONNECTOR_PROP_AUTOREFRESH,
-	CONNECTOR_PROP_LP,
-
-	/* total # of properties */
-	CONNECTOR_PROP_COUNT
-};
-
 struct msm_vblank_ctrl {
 	struct kthread_work work;
 	struct list_head event_list;
@@ -434,7 +408,6 @@  struct msm_drm_private {
 	/* Properties */
 	struct drm_property *plane_property[PLANE_PROP_COUNT];
 	struct drm_property *crtc_property[CRTC_PROP_COUNT];
-	struct drm_property *conn_property[CONNECTOR_PROP_COUNT];
 
 	/* Color processing properties for the crtc */
 	struct drm_property **cp_property;