Files
linux/drivers/gpu
Sandy Huang 215c0afafa drm/rockchip: update crtc->primary->fb only for hotplug device.
For hotplug device the crtc->primary->fb should be equal to
fb_helper->fb, otherwise the following path will return false
and lead to connect state error:
->hotplug
	->output_poll_changed()
		->drm_fb_helper_hotplug_event()
			->drm_fb_helper_is_bound()
after user space beging, the above path can return false, because
sometimes user space wants everything disabled, don't steal the display
if there's a master, so we set crtc->primary->fb point to the original
fb when drm_open.

Change-Id: I5343978ce602324dbdc3125b6b98a7b4233149ab
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-04-17 09:35:33 +08:00
..