]> git.karo-electronics.de Git - linux-beck.git/commit
drm/omap: cleanup omap_plane_atomic_check()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Jun 2016 09:50:53 +0000 (12:50 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 Nov 2016 08:38:28 +0000 (10:38 +0200)
commit70dd2a62aa35687ee01c756ea201ea3e970c28ad
tree9c501163813b7ce5892018e1877915fa9a237130
parentaaf7642e98917fc95c260cbee98d2f426754b265
drm/omap: cleanup omap_plane_atomic_check()

Clean up omap_plane_atomic_check() with:

- Check state->fb first. If no fb, return 0.
- use drm_atomic_get_existing_crtc_state() instead of
  drm_atomic_get_crtc_state()

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_plane.c