Re: [PATCH 18/22] drm/i915/selftests: check for missing aperture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Matthew Auld (2019-09-27 18:34:05)
> diff --git a/drivers/gpu/drm/i915/selftests/i915_gem.c b/drivers/gpu/drm/i915/selftests/i915_gem.c
> index 37593831b539..4951957a4d8d 100644
> --- a/drivers/gpu/drm/i915/selftests/i915_gem.c
> +++ b/drivers/gpu/drm/i915/selftests/i915_gem.c
> @@ -42,6 +42,9 @@ static void trash_stolen(struct drm_i915_private *i915)
>         unsigned long page;
>         u32 prng = 0x12345678;
>  
> +       if (!HAS_MAPPABLE_APERTURE(i915))
> +               return;

That's a bit of a nasty loss in coverage. Note we need to extend this
test to trash lmem as well. Ideas? (Possibly using the GPU to trash
everything but itself?)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux