mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/rockchip: drv: delete some unused property
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I6802fe7b92ac8993cb48135fa3a77547ee44b43a
This commit is contained in:
@@ -425,18 +425,6 @@ static int rockchip_drm_create_properties(struct drm_device *dev)
|
||||
return -ENOMEM;
|
||||
private->color_space_prop = prop;
|
||||
|
||||
prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC,
|
||||
"GLOBAL_ALPHA", 0, 255);
|
||||
if (!prop)
|
||||
return -ENOMEM;
|
||||
private->global_alpha_prop = prop;
|
||||
|
||||
prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC,
|
||||
"BLEND_MODE", 0, 1);
|
||||
if (!prop)
|
||||
return -ENOMEM;
|
||||
private->blend_mode_prop = prop;
|
||||
|
||||
prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC,
|
||||
"ALPHA_SCALE", 0, 1);
|
||||
if (!prop)
|
||||
|
||||
@@ -192,8 +192,6 @@ struct rockchip_drm_private {
|
||||
/* private plane prop */
|
||||
struct drm_property *eotf_prop;
|
||||
struct drm_property *color_space_prop;
|
||||
struct drm_property *global_alpha_prop;
|
||||
struct drm_property *blend_mode_prop;
|
||||
struct drm_property *alpha_scale_prop;
|
||||
struct drm_property *async_commit_prop;
|
||||
struct drm_property *share_id_prop;
|
||||
|
||||
Reference in New Issue
Block a user