public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915: Gen2 vblank stuff
@ 2013-10-11 18:52 ville.syrjala
  2013-10-11 18:52 ` [PATCH 1/2] drm/i915: Fix gen2 scanout position readout ville.syrjala
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: ville.syrjala @ 2013-10-11 18:52 UTC (permalink / raw)
  To: intel-gfx

Continuing a bit with improving the vblank timestamp stuff, I decided that
it's also time to fix gen2 properly.

All this time we've been pretending it has the same pixel+frame counter that
gen3 and gen4 have, when in fact it doesn't. Luckily the same offset has
nothing else on gen2, so it has just read out as 0 and everything more or
less worked.

Sadly there doesn't seem to be any frame counter register on gen2. For the
scanout position, DSL + additional tricks works equally well for gen2 as
it does for ctg+.

This series should be applied on top of my earlier vblank/scanout position
improvements.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-06 13:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 18:52 [PATCH 0/2] drm/i915: Gen2 vblank stuff ville.syrjala
2013-10-11 18:52 ` [PATCH 1/2] drm/i915: Fix gen2 scanout position readout ville.syrjala
2013-11-06 12:38   ` Rodrigo Vivi
2013-11-06 13:05     ` Ville Syrjälä
2013-10-11 18:52 ` [PATCH 2/2] drm/i915: Don't pretend that gen2 has a hardware frame counter ville.syrjala
2013-10-14 10:01 ` [PATCH 0/2] drm/i915: Gen2 vblank stuff Chris Wilson
2013-10-14 15:23   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox