All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/kms_cursor_crc: HSW/BDW only have square cursors
@ 2014-10-14 17:05 Paulo Zanoni
  2014-10-14 19:32 ` Ville Syrjälä
  2014-10-14 19:50 ` Chris Wilson
  0 siblings, 2 replies; 6+ messages in thread
From: Paulo Zanoni @ 2014-10-14 17:05 UTC (permalink / raw)
  To: intel-gfx; +Cc: Paulo Zanoni

From: Paulo Zanoni <paulo.r.zanoni@intel.com>

When I look at BSpec, and at cursor_size_ok() (from the Kernel's
intel_display.c), I see that only 845g and i865g support non-square
displays, so SKIP the tests on HSW/BDW instead of failing them.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84268
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
 tests/kms_cursor_crc.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 92d1ce6..87b4f64 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -371,10 +371,7 @@ static bool has_nonsquare_cursors(uint32_t devid)
 	 * Test non-square cursors a bit on the platforms
 	 * that support such things.
 	 */
-	return devid == PCI_CHIP_845_G ||
-		devid == PCI_CHIP_I865_G ||
-		(IS_GEN7(devid) && !IS_VALLEYVIEW(devid)) ||
-		(IS_GEN8(devid) && !IS_CHERRYVIEW(devid));
+	return devid == PCI_CHIP_845_G || devid == PCI_CHIP_I865_G;
 }
 
 static void test_cursor_size(data_t *data)
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2014-10-17 22:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14 17:05 [PATCH] tests/kms_cursor_crc: HSW/BDW only have square cursors Paulo Zanoni
2014-10-14 19:32 ` Ville Syrjälä
2014-10-14 19:43   ` Paulo Zanoni
2014-10-17 22:07     ` Paulo Zanoni
2014-10-14 19:50 ` Chris Wilson
2014-10-15 17:17   ` Paulo Zanoni

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.