[i-g-t,2/2] kms_fence_pin_leak: Move beneath i915/

Submitted by Chris Wilson on Feb. 8, 2019, 2:44 p.m.

Details

Message ID 20190208144458.26093-2-chris@chris-wilson.co.uk
State New
Series "Series without cover letter"
Headers show

Commit Message

Chris Wilson Feb. 8, 2019, 2:44 p.m.
kms_fence_pin_leak tests smooth sharp edges that are i915 specific (and
requires using GEM to do so). It doesn't belong in the general paddock
of all driver tests, so move it into the i915/ stable.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
---
 tests/Makefile.sources                | 5 ++++-
 tests/{ => i915}/kms_fence_pin_leak.c | 0
 tests/meson.build                     | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
 rename tests/{ => i915}/kms_fence_pin_leak.c (100%)

Patch hide | download patch | download mbox

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index a234fa5dd..8565f100a 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -40,7 +40,6 @@  TESTS_progs = \
 	kms_dp_dsc \
 	kms_draw_crc \
 	kms_fbcon_fbt \
-	kms_fence_pin_leak \
 	kms_flip \
 	kms_flip_event_leak \
 	kms_flip_tiling \
@@ -98,6 +97,10 @@  TESTS_progs = \
 	vgem_slow \
 	$(NULL)
 
+TESTS_progs += \
+	i915/kms_fence_pin_leak \
+	$(NULL)
+
 TESTS_progs += gem_bad_reloc
 gem_bad_reloc_SOURCES = i915/gem_bad_reloc.c
 
diff --git a/tests/kms_fence_pin_leak.c b/tests/i915/kms_fence_pin_leak.c
similarity index 100%
rename from tests/kms_fence_pin_leak.c
rename to tests/i915/kms_fence_pin_leak.c
diff --git a/tests/meson.build b/tests/meson.build
index 0f12df26d..1c4f9ec36 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -27,7 +27,6 @@  test_progs = [
 	'kms_dp_dsc',
 	'kms_draw_crc',
 	'kms_fbcon_fbt',
-	'kms_fence_pin_leak',
 	'kms_flip',
 	'kms_flip_event_leak',
 	'kms_flip_tiling',
@@ -99,6 +98,7 @@  i915_progs = [
 	'fb_tiling',
 	'getparams_basic',
 	'hangman',
+	'kms_fence_pin_leak',
 	'missed_irq',
 	'module_load',
 	'query',

Comments

Petri Latvala Feb. 8, 2019, 2:51 p.m.
On Fri, Feb 08, 2019 at 02:44:58PM +0000, Chris Wilson wrote:
> kms_fence_pin_leak tests smooth sharp edges that are i915 specific (and
> requires using GEM to do so). It doesn't belong in the general paddock
> of all driver tests, so move it into the i915/ stable.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
> Cc: Petri Latvala <petri.latvala@intel.com>

Acked-by: Petri Latvala <petri.latvala@intel.com>

> ---
>  tests/Makefile.sources                | 5 ++++-
>  tests/{ => i915}/kms_fence_pin_leak.c | 0
>  tests/meson.build                     | 2 +-
>  3 files changed, 5 insertions(+), 2 deletions(-)
>  rename tests/{ => i915}/kms_fence_pin_leak.c (100%)
> 
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index a234fa5dd..8565f100a 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -40,7 +40,6 @@ TESTS_progs = \
>  	kms_dp_dsc \
>  	kms_draw_crc \
>  	kms_fbcon_fbt \
> -	kms_fence_pin_leak \
>  	kms_flip \
>  	kms_flip_event_leak \
>  	kms_flip_tiling \
> @@ -98,6 +97,10 @@ TESTS_progs = \
>  	vgem_slow \
>  	$(NULL)
>  
> +TESTS_progs += \
> +	i915/kms_fence_pin_leak \
> +	$(NULL)
> +
>  TESTS_progs += gem_bad_reloc
>  gem_bad_reloc_SOURCES = i915/gem_bad_reloc.c
>  
> diff --git a/tests/kms_fence_pin_leak.c b/tests/i915/kms_fence_pin_leak.c
> similarity index 100%
> rename from tests/kms_fence_pin_leak.c
> rename to tests/i915/kms_fence_pin_leak.c
> diff --git a/tests/meson.build b/tests/meson.build
> index 0f12df26d..1c4f9ec36 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -27,7 +27,6 @@ test_progs = [
>  	'kms_dp_dsc',
>  	'kms_draw_crc',
>  	'kms_fbcon_fbt',
> -	'kms_fence_pin_leak',
>  	'kms_flip',
>  	'kms_flip_event_leak',
>  	'kms_flip_tiling',
> @@ -99,6 +98,7 @@ i915_progs = [
>  	'fb_tiling',
>  	'getparams_basic',
>  	'hangman',
> +	'kms_fence_pin_leak',
>  	'missed_irq',
>  	'module_load',
>  	'query',
> -- 
> 2.20.1
>