]> git.baikalelectronics.ru Git - kernel.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)
commit4884658dff6ff88fc619b7fd8e82df714f6fd53e
tree9c501163813b7ce5892018e1877915fa9a237130
parentd51693567dea133acafa7f6ca023ca1315400080
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