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)
commita98b3431afcbc66986fcf375fa168df1d9d28bc0
tree5469ea7a01263fb592a2cd8917b705bef912ac4d
parent65a3fea0a6f02950f22f983755ce8145b73a007d
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