From: akash.goel@intel.com
To: intel-gfx@lists.freedesktop.org
Cc: Akash Goel <akash.goel@intel.com>
Subject: [PATCH 1/3] drm/i915: Initialized 'set_property' fn pointer field of intel_crtc_funcs structure
Date: Mon, 10 Mar 2014 10:40:51 +0530 [thread overview]
Message-ID: <1394428253-25922-2-git-send-email-akash.goel@intel.com> (raw)
In-Reply-To: <1394428253-25922-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 8494194..5dfe156 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -10431,6 +10431,14 @@ 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 = {
.cursor_set = intel_crtc_cursor_set,
.cursor_move = intel_crtc_cursor_move,
@@ -10438,6 +10446,7 @@ static const struct drm_crtc_funcs intel_crtc_funcs = {
.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.8.5.2
next prev parent reply other threads:[~2014-03-10 5:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 5:10 [PATCH 0/3] Two new drm crtc properties akash.goel
2014-03-10 5:10 ` akash.goel [this message]
2014-03-10 5:10 ` [PATCH 2/3] drm/i915: New drm crtc property for varying the Pipe Src size akash.goel
2014-03-10 5:10 ` [PATCH 3/3] drm/i915: New drm crtc property for varying the size of borders akash.goel
2014-03-10 5:14 ` [PATCH 0/3] Two new drm crtc properties Daniel Vetter
2014-03-10 5:17 ` Goel, Akash
2014-03-11 12:54 ` [PATCH 1/3] drm/i915: Initialized 'set_property' fn pointer field of intel_crtc_funcs structure akash.goel
2014-03-11 12:54 ` [PATCH v2 0/3] Two new drm crtc properties akash.goel
2014-03-21 19:15 ` Goel, Akash
2014-03-11 12:54 ` [PATCH v2 2/3] drm/i915: New drm crtc property for varying the Pipe Src size akash.goel
2014-03-11 12:54 ` [PATCH v2 3/3] drm/i915: New drm crtc property for varying the size of borders akash.goel
2014-03-23 8:56 ` [PATCH v3] " akash.goel
2014-03-26 3:55 ` [PATCH v4 3/3] " akash.goel
2014-04-07 4:06 ` Goel, Akash
2014-04-08 16:31 ` Damien Lespiau
2014-04-08 16:32 ` Damien Lespiau
2014-04-08 16:28 ` Ville Syrjälä
2014-04-10 7:43 ` Akash Goel
2014-04-10 11:34 ` Ville Syrjälä
2014-04-11 3:04 ` Akash Goel
2014-04-11 11:42 ` Ville Syrjälä
2014-04-13 12:28 ` Akash Goel
2014-04-13 17:12 ` Daniel Vetter
2014-04-20 10:49 ` [PATCH v5 3/4] " akash.goel
2014-03-21 19:53 ` [PATCH 0/3] Two new drm crtc properties Daniel Vetter
2014-03-22 4:29 ` Goel, Akash
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=1394428253-25922-2-git-send-email-akash.goel@intel.com \
--to=akash.goel@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