Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: akash.goel@intel.com
To: intel-gfx@lists.freedesktop.org
Cc: --cc=vijay.a.purushothaman@intel.com, Akash Goel <akash.goel@intel.com>
Subject: [PATCH 2/3] drm/i915: Initialized 'set_property' fn pointer field of intel_crtc_funcs structure
Date: Fri, 20 Jun 2014 19:25:53 +0530	[thread overview]
Message-ID: <1403272554-20383-3-git-send-email-akash.goel@intel.com> (raw)
In-Reply-To: <1403272554-20383-1-git-send-email-akash.goel@intel.com>

From: Akash Goel <akash.goel@intel.com>

This patch defines a new function & assigns that to the 'set_property'
function pointer field of the 'intel_crtc_funcs' structure.

Signed-off-by: Akash Goel <akash.goel@intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index f764b74..d95afb6 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -11064,11 +11064,20 @@ out_config:
 	return ret;
 }
 
+static int intel_crtc_set_property(struct drm_crtc *crtc,
+		struct drm_property *property, uint64_t val)
+{
+	int ret = -ENOENT;
+
+	return ret;
+}
+
 static const struct drm_crtc_funcs intel_crtc_funcs = {
 	.gamma_set = intel_crtc_gamma_set,
 	.set_config = intel_crtc_set_config,
 	.destroy = intel_crtc_destroy,
 	.page_flip = intel_crtc_page_flip,
+	.set_property = intel_crtc_set_property,
 };
 
 static void intel_cpu_pll_init(struct drm_device *dev)
-- 
1.9.2

  parent reply	other threads:[~2014-06-20 13:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20 13:55 [PATCH 0/3] New drm crtc properties akash.goel
2014-06-20 13:55 ` [PATCH 1/3] drm/i915: Added a return type for panel fitter config functions akash.goel
2014-06-20 14:03   ` Chris Wilson
2014-06-23  8:27     ` Akash Goel
2014-06-20 13:55 ` akash.goel [this message]
2014-06-20 13:55 ` [PATCH 3/3] drm/i915: New drm crtc property for varying the size of borders akash.goel
2014-06-20 14:07 ` [PATCH 0/3] New drm crtc properties Damien Lespiau
2014-06-23  8:28   ` Akash Goel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403272554-20383-3-git-send-email-akash.goel@intel.com \
    --to=akash.goel@intel.com \
    --cc=--cc=vijay.a.purushothaman@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox