Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens
Date: Wed, 28 Sep 2022 16:21:56 +0300	[thread overview]
Message-ID: <87tu4ry6q3.fsf@intel.com> (raw)
In-Reply-To: <20220928060601.12941-1-ville.syrjala@linux.intel.com>

On Wed, 28 Sep 2022, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> The compression status has been available on all platforms
> since commit 3fd5d1ecae2d ("drm/i915: Implement fbc_status
> "Compressing" info for all platforms") in the kernel. Make
> use of it.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

On the series,

Acked-by: Jani Nikula <jani.nikula@intel.com>

didn't review all the details.

I guess we've deciced in the past it's fine to break testing for older
kernels...?


> ---
>  tests/i915/kms_frontbuffer_tracking.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
> index 9518c706d87d..bdf718cf073a 100644
> --- a/tests/i915/kms_frontbuffer_tracking.c
> +++ b/tests/i915/kms_frontbuffer_tracking.c
> @@ -1415,17 +1415,11 @@ static bool fbc_supported_on_chipset(void)
>  
>  static void setup_fbc(void)
>  {
> -	int devid = intel_get_drm_devid(drm.fd);
> -
>  	if (!fbc_supported_on_chipset()) {
>  		igt_info("Can't test FBC: not supported on this chipset\n");
>  		return;
>  	}
>  
> -	/* Early Generations are not able to report compression status. */
> -	if (!AT_LEAST_GEN(devid, 7))
> -		opt.fbc_check_compression = false;
> -
>  	fbc.can_test = true;
>  
>  	fbc_setup_last_action();

-- 
Jani Nikula, Intel Open Source Graphics Center

  parent reply	other threads:[~2022-09-28 13:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28  6:06 [igt-dev] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens Ville Syrjala
2022-09-28  6:06 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_frontbuffer_tracking: Convert DRRS over to per-crtc/connector debugfs files Ville Syrjala
2022-09-28  6:53 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens Patchwork
2022-09-28 13:21 ` Jani Nikula [this message]
2022-09-28 14:02   ` [igt-dev] [PATCH i-g-t 1/2] " Ville Syrjälä
2022-09-28 23:42 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork

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=87tu4ry6q3.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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