On Mon, Jul 20, 2026 at 06:15:01PM +0200, Maarten Lankhorst wrote: > Move raising the gt frequency to before display_register, so the > blit that's potentially performed to copy stolen memory to system > memory will run at full speed. > > Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Matthew Brost <[email protected]> > --- > drivers/gpu/drm/xe/xe_device.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c > index 4eed9a251e65b..e6c4e1358a614 100644 > --- a/drivers/gpu/drm/xe/xe_device.c > +++ b/drivers/gpu/drm/xe/xe_device.c > @@ -1077,6 +1077,9 @@ int xe_device_probe(struct xe_device *xe) > if (err) > return err; > > + for_each_gt(gt, xe, id) > + xe_gt_sanitize_freq(gt); > + > xe_display_register(xe); > > err = xe_oa_register(xe); > @@ -1101,9 +1104,6 @@ int xe_device_probe(struct xe_device *xe) > if (err) > goto err_unregister_display; > > - for_each_gt(gt, xe, id) > - xe_gt_sanitize_freq(gt); > - > xe_vsec_init(xe); > > err = xe_sriov_init_late(xe); > -- > 2.53.0 >
