Skip to contentSkip to conversation

tools/intel_display_poller: Poll DSPARB across mixed pipe vblank

PATCH New [email protected] 1 participant 1 message Aug 10, 2016 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/intel_display_poller: Poll DSPARB across mixed pipe vblank

From: Ville Syrjälä <[email protected]>

Add another mode which changes the DSPARB registers at specific scanlines, to determine if the individual bits get latches only on the vblank of the relevant pipe, of if other pipes would cause premature latching to happen when their vblank happens first.

The results I got on my CHV were that there is no premature latching.

---
 lib/intel_reg.h              |   2 +
 tools/intel_display_poller.c | 180 +++++++++++++++++++++++++++++++++++++++----
 2 files changed, 167 insertions(+), 15 deletions(-)
lib/intel_reg.h +2 -0
index 3a28c08c3595..f2e6d1d60216 100644
@@ -2223,6 +2223,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define   DSPARB_BSTART_SHIFT	0
 #define   DSPARB_BEND_SHIFT	9 /* on 855 */
 #define   DSPARB_AEND_SHIFT	0
+#define DSPARB2			0x70060
+#define DSPARB3			0x7006c
 #define DSPFW1			0x70034
 #define DSPFW2			0x70038
 #define DSPFW3			0x7003c
tools/intel_display_poller.c +165 -15

269 lines not on this page · raw message

Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx