From: "Jindal, Sonika" <sonika.jindal@intel.com>
To: Kausal Malladi <Kausal.Malladi@intel.com>,
matthew.d.roper@intel.com, jesse.barnes@intel.com,
damien.lespiau@intel.com, durgadoss.r@intel.com,
vijay.a.purushothaman@intel.com, intel-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org
Cc: annie.j.matherson@intel.com, dhanya.p.r@intel.com,
daniel.vetter@intel.com
Subject: Re: [PATCH 3/7] drm/i915: Add Set property interface for CRTC
Date: Tue, 02 Jun 2015 16:49:56 +0530 [thread overview]
Message-ID: <556D915C.1090706@intel.com> (raw)
In-Reply-To: <1433188369-16930-4-git-send-email-Kausal.Malladi@intel.com>
On 6/2/2015 1:22 AM, Kausal Malladi wrote:
> From: Kausal Malladi <Kausal.Malladi@intel.com>
>
> This patch adds set property interface for Intel CRTC. This interface
> will be used to set color correction DRM properties.
>
> Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
> Signed-off-by: Kausal Malladi <Kausal.Malladi@intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index f817cea..21e67da 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -12978,11 +12978,19 @@ out:
> return ret;
> }
>
> +static int intel_crtc_set_property(struct drm_crtc *crtc,
> + struct drm_property *property, uint64_t val)
> +{
> + DRM_DEBUG_KMS("Unknown crtc property '%s'\n", property->name);
> + return -EINVAL;
> +}
> +
> 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,
I think it should be done similar to plane set property using atomic
helpers.
> .atomic_duplicate_state = intel_crtc_duplicate_state,
> .atomic_destroy_state = intel_crtc_destroy_state,
> };
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-06-02 11:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1433188369-16930-1-git-send-email-Kausal.Malladi@intel.com>
[not found] ` <1433188369-16930-2-git-send-email-Kausal.Malladi@intel.com>
2015-06-02 11:06 ` [PATCH 1/7] drm/i915: Initialize Color Manager Jindal, Sonika
[not found] ` <1433188369-16930-4-git-send-email-Kausal.Malladi@intel.com>
2015-06-02 11:19 ` Jindal, Sonika [this message]
[not found] ` <1433188369-16930-5-git-send-email-Kausal.Malladi@intel.com>
2015-06-02 11:25 ` [PATCH 4/7] drm: Add Gamma correction structure Jindal, Sonika
2015-06-02 11:35 ` [Intel-gfx] " Daniel Stone
[not found] ` <1433188369-16930-6-git-send-email-Kausal.Malladi@intel.com>
2015-06-02 11:38 ` [PATCH 5/7] drm/i915: Add pipe level Gamma correction for CHV/BSW Jindal, Sonika
2015-06-02 11:53 ` Daniel Stone
2015-06-03 13:51 ` Sharma, Shashank
2015-06-03 13:26 ` Sharma, Shashank
2015-06-02 12:00 ` [PATCH 0/7] Color Manager Implementation Damien Lespiau
2015-06-02 12:03 ` Sharma, Shashank
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=556D915C.1090706@intel.com \
--to=sonika.jindal@intel.com \
--cc=Kausal.Malladi@intel.com \
--cc=annie.j.matherson@intel.com \
--cc=damien.lespiau@intel.com \
--cc=daniel.vetter@intel.com \
--cc=dhanya.p.r@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=durgadoss.r@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jesse.barnes@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=vijay.a.purushothaman@intel.com \
/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