]> git.karo-electronics.de Git - linux-beck.git/commit
drm: add atomic_set_property wrappers
authorRob Clark <robdclark@gmail.com>
Thu, 18 Dec 2014 21:01:46 +0000 (16:01 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Dec 2014 21:22:39 +0000 (22:22 +0100)
commit40ecc694e114a06b9ed77e3e94641b0f5490693c
tree3eeded62ed019c2b68d87e24faa448426380b705
parent72a3697097b8dc92f5b8362598f5730a9986eb83
drm: add atomic_set_property wrappers

As we add properties for all the standard plane/crtc/connector
attributes (in preperation for the atomic ioctl), we are going to want
to handle core state in core (rather than per driver).  Intercepting the
core properties will be easier if the atomic_set_property vfuncs are not
called directly, but instead have a mandatory wrapper function (which
will later serve as the point to intercept core properties).

v2: more verbose comments and copypasta comment fix

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
include/drm/drm_atomic.h
include/drm/drm_crtc.h