]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/crtc: only store the necessary data for set_config rollback
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 2 Jun 2016 17:27:52 +0000 (19:27 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jun 2016 00:47:54 +0000 (10:47 +1000)
commit93f55972bc0fef0e394bbed3d46dc06b9afd3d17
tree7776d0ded35bbfe9b2d4ed30835337e23554f406
parentfffc5f59f2c68ca859c3f92b224393ed3adbe1ca
drm/crtc: only store the necessary data for set_config rollback

drm_crtc_helper_set_config only potentially touches connector->encoder
and encoder->crtc, so we only have to store those for all connectors
and encoders, respectively.

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c