From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/i915: PSR HSW: update after enabling sprite.
Date: Fri, 7 Feb 2014 21:17:45 +0200 [thread overview]
Message-ID: <20140207191745.GC3891@intel.com> (raw)
In-Reply-To: <1391796588-2015-2-git-send-email-rodrigo.vivi@gmail.com>
On Fri, Feb 07, 2014 at 04:09:48PM -0200, Rodrigo Vivi wrote:
> On the current structure HSW doesn't support PSR with sprites enabled
> but sprites can be enabled after PSR was enabled what would cause
> user to miss screen updates.
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
> ---
> drivers/gpu/drm/i915/intel_sprite.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
> index 336ae6c..3132686 100644
> --- a/drivers/gpu/drm/i915/intel_sprite.c
> +++ b/drivers/gpu/drm/i915/intel_sprite.c
> @@ -318,6 +318,8 @@ ivb_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
> I915_WRITE(SPRSURF(pipe),
> i915_gem_obj_ggtt_offset(obj) + sprsurf_offset);
> POSTING_READ(SPRSURF(pipe));
> +
> + intel_edp_psr_update(dev);
I was thinking this might be better placed in intel_update_plane()
since the fbc/ips stuff is there, but I can live with it being here too.
But should if have a HSW check on it? BDW doesn't have this restriction
anymore, right?
> }
>
> static void
> --
> 1.7.11.7
--
Ville Syrjälä
Intel OTC
next prev parent reply other threads:[~2014-02-07 19:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 18:09 [PATCH 1/2] drm/i915: HSW PSR fix inverted sink DP_PSR_CFG link setup Rodrigo Vivi
2014-02-07 18:09 ` [PATCH 2/2] drm/i915: PSR HSW: update after enabling sprite Rodrigo Vivi
2014-02-07 19:00 ` Daniel Vetter
2014-02-07 19:17 ` Ville Syrjälä [this message]
2014-02-07 19:24 ` Rodrigo Vivi
2014-02-07 19:14 ` [PATCH 1/2] drm/i915: HSW PSR fix inverted sink DP_PSR_CFG link setup Ville Syrjälä
2014-02-07 19:29 ` Rodrigo Vivi
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=20140207191745.GC3891@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@gmail.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.