Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i810: Use CONFIG_PREEMPTION

CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by
CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same
functionality which today depends on CONFIG_PREEMPT.

Change the Kconfig dependency of i810 to !CONFIG_PREEMPTION so the driver
is not accidentally built on a RT kernel.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: dri-devel@lists.freedesktop.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/alpine.DEB.2.21.1907262223280.1791@nanos.tec.linutronix.de

authored by

Thomas Gleixner and committed by
Daniel Vetter
dc25ace6 1956ecf4

+1 -1
+1 -1
drivers/gpu/drm/Kconfig
··· 394 394 config DRM_I810 395 395 tristate "Intel I810" 396 396 # !PREEMPT because of missing ioctl locking 397 - depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN) 397 + depends on DRM && AGP && AGP_INTEL && (!PREEMPTION || BROKEN) 398 398 help 399 399 Choose this option if you have an Intel I810 graphics card. If M is 400 400 selected, the module will be called i810. AGP support is required