Re: [PATCH v2] igt/gem_workarounds: Test all types of workarounds

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

 



Quoting Oscar Mateo (2017-10-11 19:15:40)
> @@ -241,39 +350,34 @@ igt_main
>         }, *m;
>  
>         igt_fixture {
> +               struct pci_device *pci_dev;
>                 FILE *file;
> -               char *line = NULL;
> -               size_t line_size;
> -               int i, fd;
> +               int fd;
>  
>                 device = drm_open_driver(DRIVER_INTEL);
>                 igt_require_gem(device);
>  
>                 gen = intel_gen(intel_get_drm_devid(device));
>  
> +               pci_dev = intel_get_pci_device();
> +               igt_require(pci_dev);
> +
> +               intel_register_access_init(pci_dev, 0, device);

intel_register_access_init() takes i915-user-forcewake. Can we limit the
register access to just the mmio tests?
-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