]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add .atomic_{get, set}_property() entrypoints to planes
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 22 Jan 2015 00:35:43 +0000 (16:35 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:56:15 +0000 (09:56 +0100)
commita281e6a0d7e7287e0ea44905d43b4ae5f890f63d
tree5469ea7a01263fb592a2cd8917b705bef912ac4d
parente6c298734367e92c52ef7a12a08ce920174877b0
drm/i915: Add .atomic_{get, set}_property() entrypoints to planes

When we flip on the DRIVER_ATOMIC bit, the DRM core will start calling
this entrypoint to set and lookup driver-specific plane property values,
rather than maintaining a shadow copy in object->properties.

Note that although we add these functions to the plane vtable, they will
not yet be called.  Future patches that switch our .set_property()
handler and/or enable full atomic functionality are required before
these code paths will be executed.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h