Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chandra Konduru <chandra.konduru@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: thomas.wood@intel.com
Subject: [PATCH] i-g-t: Update kms_panel_fitting to work on other platforms
Date: Mon, 11 May 2015 11:51:56 -0700	[thread overview]
Message-ID: <1431370316-11828-1-git-send-email-chandra.konduru@intel.com> (raw)

From: chandra konduru <chandra.konduru@intel.com>

kms_panel_fitting currently enabled for SKL only, but as
panel_fitters are available on prior platforms, enable this
kms test for them too.

Signed-off-by: chandra konduru <chandra.konduru@intel.com>
---
 tests/kms_panel_fitting.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c
index 4dc3bff..2d079b4 100644
--- a/tests/kms_panel_fitting.c
+++ b/tests/kms_panel_fitting.c
@@ -43,8 +43,6 @@ typedef struct {
 	int image_w;
 	int image_h;
 
-	int num_scalers;
-
 	struct igt_fb fb1;
 	struct igt_fb fb2;
 	struct igt_fb fb3;
@@ -176,10 +174,6 @@ static void test_panel_fitting(data_t *d)
 	enum pipe pipe;
 	int valid_tests = 0;
 
-	igt_require(d->display.has_universal_planes);
-	igt_require(d->num_scalers);
-	igt_require(d->num_scalers);
-
 	for_each_connected_output(display, output) {
 		drmModeModeInfo *mode, native_mode;
 
@@ -261,8 +255,6 @@ igt_simple_main
 	igt_display_init(&data.display, data.drm_fd);
 	data.devid = intel_get_drm_devid(data.drm_fd);
 
-	data.num_scalers = intel_gen(data.devid) >= 9 ? 2 : 0;
-
 	test_panel_fitting(&data);
 
 	igt_display_fini(&data.display);
-- 
1.7.9.5

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

             reply	other threads:[~2015-05-11 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 18:51 Chandra Konduru [this message]
2015-05-12  6:51 ` [PATCH] i-g-t: Update kms_panel_fitting to work on other platforms Daniel Vetter

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=1431370316-11828-1-git-send-email-chandra.konduru@intel.com \
    --to=chandra.konduru@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=thomas.wood@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox