[PATCH 1/2] lib/igt_debugfs: handle xe driver as well

Modem, Bhanuprakash bhanuprakash.modem at intel.com
Mon Jun 24 08:07:32 UTC 2024


On 24-06-2024 12:48 pm, Kunal Joshi wrote:
> add support for xe driver as well
> 
> Cc: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>

Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>

> ---
>   lib/igt_debugfs.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
> index a7b54bae5..f4f749e30 100644
> --- a/lib/igt_debugfs.c
> +++ b/lib/igt_debugfs.c
> @@ -502,7 +502,7 @@ bool igt_ignore_long_hpd(int drm_fd, bool enable)
>   
>   static void igt_hpd_storm_exit_handler(int sig)
>   {
> -	int fd = drm_open_driver(DRIVER_INTEL);
> +	int fd = drm_open_driver(DRIVER_INTEL | DRIVER_XE);
>   
>   	/* Here we assume that only one i915 device will be ever present */
>   	igt_hpd_storm_reset(fd);


More information about the igt-dev mailing list