[Intel-xe] [PATCH 1/2] drm/xe: Add module parameter 'fastboot'
Arun R Murthy
arun.r.murthy at intel.com
Sun Sep 24 14:47:50 UTC 2023
Fastboot is by default enabled on all Display 9+ platforms.
Module param is added in xe for controlling the same.
Signed-off-by: Arun R Murthy <arun.r.murthy at intel.com>
---
drivers/gpu/drm/xe/xe_device_types.h | 1 +
drivers/gpu/drm/xe/xe_display.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index a82f28c6a3a0..f73c0672bd54 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -458,6 +458,7 @@ struct xe_device {
s32 panel_use_ssc;
const char *vbt_firmware;
u32 lvds_channel_mode;
+ int fastboot;
} params;
#endif
};
diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
index bb4938a84f47..8a80d85eb104 100644
--- a/drivers/gpu/drm/xe/xe_display.c
+++ b/drivers/gpu/drm/xe/xe_display.c
@@ -123,6 +123,7 @@ int xe_display_create(struct xe_device *xe)
xe->params.enable_psr2_sel_fetch = -1;
xe->params.enable_sagv = true;
xe->params.panel_use_ssc = -1;
+ xe->params.fastboot = -1;
err = drmm_add_action_or_reset(&xe->drm, display_destroy, NULL);
if (err)
--
2.25.1
More information about the Intel-xe
mailing list