drm/rockchip: create tv properties on master driver

Change-Id: Ia42a89447281e1f2688ce34d4c0a85975222b371
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2017-07-28 11:33:55 +08:00
committed by Huang, Tao
parent 18a51606e2
commit c2560f2894
2 changed files with 1 additions and 4 deletions

View File

@@ -1079,7 +1079,7 @@ static int rockchip_drm_create_properties(struct drm_device *dev)
return -ENOMEM;
private->cabc_calc_pixel_num_property = prop;
return 0;
return drm_mode_create_tv_properties(dev, 0, NULL);
}
static int rockchip_gem_pool_init(struct drm_device *drm)

View File

@@ -2811,9 +2811,6 @@ static int vop_create_crtc(struct vop *vop)
crtc->port = port;
rockchip_register_crtc_funcs(crtc, &private_crtc_funcs);
ret = drm_mode_create_tv_properties(drm_dev, 0, NULL);
if (ret)
goto err_unregister_crtc_funcs;
#define VOP_ATTACH_MODE_CONFIG_PROP(prop, v) \
drm_object_attach_property(&crtc->base, drm_dev->mode_config.prop, v)