.. | .. |
---|
1818 | 1818 | struct radeon_device *rdev = dev->dev_private; |
---|
1819 | 1819 | |
---|
1820 | 1820 | /* preempt_disable_rt() should go right here in PREEMPT_RT patchset. */ |
---|
| 1821 | + preempt_disable_rt(); |
---|
1821 | 1822 | |
---|
1822 | 1823 | /* Get optional system timestamp before query. */ |
---|
1823 | 1824 | if (stime) |
---|
.. | .. |
---|
1910 | 1911 | *etime = ktime_get(); |
---|
1911 | 1912 | |
---|
1912 | 1913 | /* preempt_enable_rt() should go right here in PREEMPT_RT patchset. */ |
---|
| 1914 | + preempt_enable_rt(); |
---|
1913 | 1915 | |
---|
1914 | 1916 | /* Decode into vertical and horizontal scanout position. */ |
---|
1915 | 1917 | *vpos = position & 0x1fff; |
---|