[Intel-gfx] [PATCH 1/2] Add set_property stub for plane properties.

Bob Paauwe bob.j.paauwe at intel.com
Thu Feb 27 17:38:13 CET 2014


Hook up the set_property function pointer to a stub function. The function
will be populated once actual plane properties are created.

Signed-off-by: Bob Paauwe <bob.j.paauwe at intel.com>
---
 drivers/gpu/drm/i915/intel_sprite.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index 336ae6c..f9f81dd 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -949,6 +949,14 @@ static void intel_destroy_plane(struct drm_plane *plane)
 	kfree(intel_plane);
 }
 
+static int intel_set_property(struct drm_plane *plane,
+				struct drm_property *property,
+				uint64_t value)
+{
+	return 0;
+}
+
+
 int intel_sprite_set_colorkey(struct drm_device *dev, void *data,
 			      struct drm_file *file_priv)
 {
@@ -1037,6 +1045,7 @@ static const struct drm_plane_funcs intel_plane_funcs = {
 	.update_plane = intel_update_plane,
 	.disable_plane = intel_disable_plane,
 	.destroy = intel_destroy_plane,
+	.set_property = intel_set_property,
 };
 
 static uint32_t ilk_plane_formats[] = {
-- 
1.8.3.1




More information about the Intel-gfx mailing list