hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/gpu/drm/radeon/radeon_display.c
....@@ -1818,6 +1818,7 @@
18181818 struct radeon_device *rdev = dev->dev_private;
18191819
18201820 /* preempt_disable_rt() should go right here in PREEMPT_RT patchset. */
1821
+ preempt_disable_rt();
18211822
18221823 /* Get optional system timestamp before query. */
18231824 if (stime)
....@@ -1910,6 +1911,7 @@
19101911 *etime = ktime_get();
19111912
19121913 /* preempt_enable_rt() should go right here in PREEMPT_RT patchset. */
1914
+ preempt_enable_rt();
19131915
19141916 /* Decode into vertical and horizontal scanout position. */
19151917 *vpos = position & 0x1fff;