diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2015-01-21 19:35:43 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-27 03:56:15 -0500 |
commit | a98b3431afcbc66986fcf375fa168df1d9d28bc0 (patch) | |
tree | 5469ea7a01263fb592a2cd8917b705bef912ac4d /drivers/gpu/drm/i915/intel_display.c | |
parent | 65a3fea0a6f02950f22f983755ce8145b73a007d (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index ce71fc588dd6..0cdcf9bf54c2 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -12054,6 +12054,8 @@ const struct drm_plane_funcs intel_plane_funcs = { | |||
12054 | .disable_plane = drm_plane_helper_disable, | 12054 | .disable_plane = drm_plane_helper_disable, |
12055 | .destroy = intel_plane_destroy, | 12055 | .destroy = intel_plane_destroy, |
12056 | .set_property = intel_plane_set_property, | 12056 | .set_property = intel_plane_set_property, |
12057 | .atomic_get_property = intel_plane_atomic_get_property, | ||
12058 | .atomic_set_property = intel_plane_atomic_set_property, | ||
12057 | .atomic_duplicate_state = intel_plane_duplicate_state, | 12059 | .atomic_duplicate_state = intel_plane_duplicate_state, |
12058 | .atomic_destroy_state = intel_plane_destroy_state, | 12060 | .atomic_destroy_state = intel_plane_destroy_state, |
12059 | 12061 | ||