OSDN Git Service

drm/atomic-helper: Use old/new state in drm_atomic_helper_commit_planes_on_crtc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Jun 2018 20:41:44 +0000 (23:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Jul 2018 15:45:55 +0000 (18:45 +0300)
commite35a2f9aee31fb9e85ebbf4820481ce3f5e94db2
tree6b02f140c995e543312b7684e10e17ea7f91b340
parent796422f227eef662256dcf74f609abd48cfd1cc9
drm/atomic-helper: Use old/new state in drm_atomic_helper_commit_planes_on_crtc()

Update drm_atomic_helper_commit_planes_on_crtc() to use explicit old/new
states instead of relying on obj->state.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180626204144.14769-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c