diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-02-24 17:07:25 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2020-03-12 17:29:38 +0300 |
commit | 44e5f9311cf0116635541099023ff54a86dcfb51 (patch) | |
tree | e6eba2ba9ee068cd4131cd2c690b8a9b64b1a60b /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |
parent | 3b0d6458c7052af1795489976b600797ca07f7e9 (diff) | |
download | linux-44e5f9311cf0116635541099023ff54a86dcfb51.tar.xz |
drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()
vmw_fifo_ping_host() disables preemption around a test and a register
write via vmw_write(). The write function acquires a spinlock_t typed
lock which is not allowed in a preempt_disable()ed section on
PREEMPT_RT. This has been reported in the bugzilla.
It has been explained by Thomas Hellstrom that this preempt_disable()ed
section is not required for correctness.
Remove the preempt_disable() section.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206591
Link: https://lkml.kernel.org/r/0b5e1c65d89951de993deab06d1d197b40fd67aa.camel@vmware.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.c')
0 files changed, 0 insertions, 0 deletions