[igt-dev] [PATCH i-g-t 1/5] RFC tests/i915/kms_frontbuffer_tracking: Add xe support
Modem, Bhanuprakash
bhanuprakash.modem at intel.com
Mon Jun 12 05:23:40 UTC 2023
On Fri-09-06-2023 03:42 pm, Kunal Joshi wrote:
> Add support for DRIVER_XE
>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
> tests/i915/kms_frontbuffer_tracking.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
> index 650e14a7..c2b99670 100644
> --- a/tests/i915/kms_frontbuffer_tracking.c
> +++ b/tests/i915/kms_frontbuffer_tracking.c
> @@ -1338,7 +1338,7 @@ static void init_crcs(enum pixel_format format, enum tiling_type tiling,
>
> static void setup_drm(void)
> {
> - drm.fd = drm_open_driver_master(DRIVER_INTEL);
> + drm.fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
LGTM
Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> drm.debugfs = igt_debugfs_dir(drm.fd);
>
> kmstest_set_vt_graphics_mode();
More information about the igt-dev
mailing list