Commit 8e809dfb authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

drm/msm: remove unused plane_property field from msm_drm_private

Remove unused field plane_property from struct msm_drm_private. Also
drop the enum msm_mdp_plane_property which also becomes unused.

Fixes: 7d36db0b ("drm/msm/mdp5: switch to standard zpos property")
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/480939/
Link: https://lore.kernel.org/r/20220406100556.479706-1-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 0054ac2c
...@@ -50,13 +50,6 @@ struct msm_disp_state; ...@@ -50,13 +50,6 @@ struct msm_disp_state;
#define FRAC_16_16(mult, div) (((mult) << 16) / (div)) #define FRAC_16_16(mult, div) (((mult) << 16) / (div))
enum msm_mdp_plane_property {
PLANE_PROP_ZPOS,
PLANE_PROP_ALPHA,
PLANE_PROP_PREMULTIPLIED,
PLANE_PROP_MAX_NUM
};
enum msm_dp_controller { enum msm_dp_controller {
MSM_DP_CONTROLLER_0, MSM_DP_CONTROLLER_0,
MSM_DP_CONTROLLER_1, MSM_DP_CONTROLLER_1,
...@@ -187,9 +180,6 @@ struct msm_drm_private { ...@@ -187,9 +180,6 @@ struct msm_drm_private {
unsigned int num_bridges; unsigned int num_bridges;
struct drm_bridge *bridges[MAX_BRIDGES]; struct drm_bridge *bridges[MAX_BRIDGES];
/* Properties */
struct drm_property *plane_property[PLANE_PROP_MAX_NUM];
/* VRAM carveout, used when no IOMMU: */ /* VRAM carveout, used when no IOMMU: */
struct { struct {
unsigned long size; unsigned long size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment