From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/6] drm/i915: Remaining PSR fixes
Date: Tue, 31 May 2016 22:16:59 +0300 [thread overview]
Message-ID: <20160531191659.GA4329@intel.com> (raw)
In-Reply-To: <20160531190749.GM7231@phenom.ffwll.local>
On Tue, May 31, 2016 at 09:07:49PM +0200, Daniel Vetter wrote:
> On Tue, May 31, 2016 at 06:50:24PM +0300, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > Here's a repost of my PSR fixes, and one straggler from Daniel.
> >
> > One interesting thing I noticed is that my SKL actually hits the PSR setup
> > time vs. vblank length check, so after these patches that machine won't
> > actually use PSR. The panel does support a lower refresh rate timing as well
> > though which doesn't suffer from this limitation, so I hacked the code to
> > use that mode instead, and PSR did seem to work without problems. With the
> > original mode I had some screen stalls while running xonotic, which I'm
> > going to assume were due to the setup time exceeding the safe limit.
>
> Hm, is there a way to make that hack less hackish and merge it? Selecting
> a mode with slightly different timings (but same resolution ofc) to make
> PSR possible seems like a very sensible idea. Or is this a 60Hz vs 30Hz
> kind of thing?
60 vs. 48 in this case, so might not want it as a default. However
this is not a production machine anyway, so I wouldn't worry about
it too much unless someone comes across a real machine with a
similar setup.
>
> Scrolled through patches, still lgtm.
> -Daniel
>
> >
> > I also hooked up the PSR interrupts for BDW+ and pushed the patches to [1],
> > but I'm not including those patches here since the PSR interrupts don't
> > seem to gain us anything useful in practice.
> >
> > [1] git://github.com/vsyrjala/linux.git psr_interrupts
> >
> > Daniel Vetter (1):
> > drm/i915/psr: Skip aux handeshake if the vbt tells us to
> >
> > Ville Syrjälä (5):
> > drm/dp: Add drm_dp_psr_setup_time()
> > drm/dp: Add drm_dp_psr_need_train_on_exit()
> > drm/i915: Check PSR setup time vs. vblank length
> > drm/i915: Ask the sink whether training is required when exiting PSR
> > main-link off mode
> > drm/i915: Move psr.link_standby setup to intel_psr_match_conditions()
> >
> > drivers/gpu/drm/drm_dp_helper.c | 46 ++++++++++++++++++++++++++
> > drivers/gpu/drm/i915/intel_drv.h | 2 ++
> > drivers/gpu/drm/i915/intel_psr.c | 64 +++++++++++++++++++++++++------------
> > drivers/gpu/drm/i915/intel_sprite.c | 6 ++--
> > include/drm/drm_dp_helper.h | 3 ++
> > 5 files changed, 97 insertions(+), 24 deletions(-)
> >
> > --
> > 2.7.4
> >
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2016-05-31 19:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 15:50 [PATCH 0/6] drm/i915: Remaining PSR fixes ville.syrjala
2016-05-31 15:50 ` [PATCH v2 1/6] drm/dp: Add drm_dp_psr_setup_time() ville.syrjala
2016-05-31 15:50 ` [PATCH v2 2/6] drm/dp: Add drm_dp_psr_need_train_on_exit() ville.syrjala
2016-05-31 15:50 ` [PATCH 3/6] drm/i915: Check PSR setup time vs. vblank length ville.syrjala
2016-08-05 22:10 ` [Intel-gfx] " Rodrigo Vivi
2016-08-08 7:38 ` Ville Syrjälä
2016-08-08 8:33 ` Jani Nikula
2016-08-25 21:39 ` [Intel-gfx] " Rodrigo Vivi
2016-05-31 15:50 ` [PATCH 4/6] drm/i915/psr: Skip aux handeshake if the vbt tells us to ville.syrjala
2016-05-31 15:50 ` [PATCH 5/6] drm/i915: Ask the sink whether training is required when exiting PSR main-link off mode ville.syrjala
2016-05-31 15:50 ` [PATCH 6/6] drm/i915: Move psr.link_standby setup to intel_psr_match_conditions() ville.syrjala
2016-05-31 19:07 ` [PATCH 0/6] drm/i915: Remaining PSR fixes Daniel Vetter
2016-05-31 19:16 ` Ville Syrjälä [this message]
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=20160531191659.GA4329@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--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;
as well as URLs for NNTP newsgroup(s).