[PATCH] drm/i810: Use CONFIG_PREEMPTION

Thomas Gleixner tglx at linutronix.de
Fri Jul 26 22:52:31 UTC 2019


On Sat, 27 Jul 2019, Daniel Vetter wrote:
> On Fri, Jul 26, 2019 at 10:25 PM Thomas Gleixner <tglx at linutronix.de> wrote:
> >
> > 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 at linutronix.de>
> > Cc: dri-devel at lists.freedesktop.org
> > Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> > Cc: David Airlie <airlied at linux.ie>
> > Cc: Daniel Vetter <daniel at ffwll.ch>
> 
> My kernel/Kconfig.preempt here still has that as PREEMPT. Does this
> patch need some others? In that case Ack for merging through whatever
> tree those go in through.

The CONFIG_PREEMPTION change came as a regression fix after rc1 into Linus
tree. The initial plan was to rename PREEMPT to PREEMPT_LL and select
PREEMPT from both PREEMPT_RT and PREEMPT_LL. But that broke (old)defconfig
and such. So it got fixed post rc1.

If you don't want to merge rc2 into your tree, let me know and I'll pick it
up.

Thanks,

	tglx


More information about the dri-devel mailing list