From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Swati Sharma <swati2.sharma@intel.com>
Cc: jani.nikula@intel.com, daniel.vetter@ffwll.ch,
intel-gfx@lists.freedesktop.org, ankit.k.nautiyal@intel.com
Subject: Re: [PATCH 02/11] [v4] drm/i915: Enable intel_color_get_config()
Date: Tue, 23 Apr 2019 18:57:36 +0300 [thread overview]
Message-ID: <20190423155736.GW1747@intel.com> (raw)
In-Reply-To: <1555509813-9021-3-git-send-email-swati2.sharma@intel.com>
On Wed, Apr 17, 2019 at 07:33:24PM +0530, Swati Sharma wrote:
> v4: -Renamed intel_get_color_config to intel_color_get_config [Jani]
> -Added the user early on such that support for get_color_config()
> can be added platform by platform incrementally [Jani]
>
> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index f29a348..0715b4e 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -8275,6 +8275,7 @@ static bool i9xx_get_pipe_config(struct intel_crtc *crtc,
> pipe_config->cgm_mode = I915_READ(CGM_PIPE_MODE(crtc->pipe));
>
> i9xx_get_pipe_color_config(pipe_config);
> + intel_color_get_config(pipe_config);
>
> if (INTEL_GEN(dev_priv) < 4)
> pipe_config->double_wide = tmp & PIPECONF_DOUBLE_WIDE;
> @@ -9348,6 +9349,7 @@ static bool ironlake_get_pipe_config(struct intel_crtc *crtc,
> pipe_config->csc_mode = I915_READ(PIPE_CSC_MODE(crtc->pipe));
>
> i9xx_get_pipe_color_config(pipe_config);
> + intel_color_get_config(pipe_config);
>
> if (I915_READ(PCH_TRANSCONF(crtc->pipe)) & TRANS_ENABLE) {
> struct intel_shared_dpll *pll;
> @@ -10011,6 +10013,7 @@ static bool haswell_get_pipe_config(struct intel_crtc *crtc,
> pipe_config->csc_enable = true;
> } else {
> i9xx_get_pipe_color_config(pipe_config);
> + intel_color_get_config(pipe_config);
That's not the right place for it if you want to cover all the
platforms.
> }
>
> power_domain = POWER_DOMAIN_PIPE_PANEL_FITTER(crtc->pipe);
> --
> 1.9.1
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-04-23 16:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 14:03 [PATCH 00/11] drm/i915: adding state checker for gamma lut values Swati Sharma
2019-04-17 14:03 ` [PATCH 01/11] [v4] drm/i915: Introduce vfunc intel_get_color_config to create hw lut Swati Sharma
2019-04-17 14:03 ` [PATCH 02/11] [v4] drm/i915: Enable intel_color_get_config() Swati Sharma
2019-04-23 15:57 ` Ville Syrjälä [this message]
2019-04-17 14:03 ` [PATCH 03/11] [v4] drm/i915: Extract i9xx_get_color_config() Swati Sharma
2019-04-23 16:13 ` Ville Syrjälä
2019-04-17 14:03 ` [PATCH 04/11] [v4] drm/i915: Extract cherryview_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 05/11] [v4] drm/i915: Extract i965_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 06/11] [v4] drm/i915: Extract icl_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 07/11] [v4] drm/i915: Extract glk_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 08/11] [v4] drm/i915: Extract bdw_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 09/11] [v4] drm/i915: Extract ivb_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 10/11] [v4] drm/i915: Extract ilk_get_color_config() Swati Sharma
2019-04-17 14:03 ` [PATCH 11/11] [v4] drm/i915: Add intel_color_lut_equal() to compare hw and sw gamma lut values Swati Sharma
2019-04-25 12:35 ` Jani Nikula
2019-04-17 14:23 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: adding state checker for gamma lut values (rev5) Patchwork
2019-04-17 14:28 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-04-17 14:37 ` ✗ Fi.CI.BAT: failure " Patchwork
2019-04-18 10:03 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: adding state checker for gamma lut values (rev6) Patchwork
2019-04-18 10:08 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-04-18 10:31 ` ✗ Fi.CI.BAT: failure " Patchwork
2019-04-23 10:59 ` Arkadiusz Hiler
2019-04-25 12:26 ` [PATCH 00/11] drm/i915: adding state checker for gamma lut values Jani Nikula
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=20190423155736.GW1747@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=swati2.sharma@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.