]> git.baikalelectronics.ru Git - kernel.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)
commiteffa3b90ebccb76dfca5e39b321458a9d05ae3b3
tree3eeded62ed019c2b68d87e24faa448426380b705
parent81cd2cdd35d1c717beb3572955ae9bcf4c533098
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