Re: [PATCH v9 5/5] drm/i915/selftests: Introduce live tests of private PAT management

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

 



Quoting Zhi Wang (2017-09-08 19:06:39)
> +       /* case 3: negative test 2, suppose PPAT table is still full now */
> +       value = generate_new_value(ppat, value_for_negative_test);
> +       if (!value) {
> +               pr_err("fail to generate new value for negative test 2\n");
> +               ret = -EINVAL;
> +               goto ppat_put;
> +       }
> +
> +       entry = intel_ppat_get(i915, value);
> +       if (!IS_ERR(entry) || PTR_ERR(entry) != -ENOSPC) {
> +               pr_err("fail on negative test\n");
> +               ret = -EINVAL;
> +       }

Then make a hole and it should work again, that's what I meant. Which I
think is important for long running systems :)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux