mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user