drm/atomic: atomic_check functions
authorRob Clark <robdclark@gmail.com>
Thu, 18 Dec 2014 21:01:51 +0000 (16:01 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Jan 2015 12:55:27 +0000 (13:55 +0100)
commit5e743737421fe9be9d7b25475427a3698e6f70a5
treefbe422bfdd6a7df29489ecba3a8b66ec263cd938
parent88a48e297b3a3bac6022c03babfb038f1a886cea
drm/atomic: atomic_check functions

Add functions to check core plane/crtc state.

v2: comments, int-overflow checks, call from core rather than
    helpers to be sure drivers can't find a way to bypass core
    checks

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c