mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/rockchip: drv: delete legacy fb setting
Primary plane for this CRTC, this is only relevant for legacy IOCTL, it specifies the plane implicitly used by the SETCRTC and PAGE_FLIP IOCTLs, It does not have any significance beyond that. Change-Id: Ia4b0ac8fd4f597cd628377be32eef2ef498f4af3 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -1563,10 +1563,8 @@ static int rockchip_drm_bind(struct device *dev)
|
||||
break;
|
||||
|
||||
s = to_rockchip_crtc_state(crtc->state);
|
||||
if (is_support_hotplug(s->output_type)) {
|
||||
crtc->primary->fb = helper->fb;
|
||||
if (is_support_hotplug(s->output_type))
|
||||
drm_framebuffer_get(helper->fb);
|
||||
}
|
||||
}
|
||||
|
||||
drm_dev->mode_config.allow_fb_modifiers = true;
|
||||
|
||||
Reference in New Issue
Block a user