[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190311133919.azyhtioxf23duf3g@sirius.home.kraxel.org>
Date: Mon, 11 Mar 2019 14:39:19 +0100
From: Gerd Hoffmann <kraxel@...hat.com>
To: Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>,
David Airlie <airlied@...ux.ie>,
virtualization@...ts.linux-foundation.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/bochs: Fix NULL dereference on atomic_disable helper
Hi,
> > IIRC the drm code checks for the atomic_enable callback presence to
> > figure whenever it should take the atomic or legacy code paths.
>
> It should check for drm_driver->mode_config.funcs.atomic_commit for that,
> see drm_drv_uses_atomic_modeset(). Anything else should be a bug.
>
> Or do you mean the fallback to the old crtc helper prepare/commit
> callbacks?
Probably the later. There was some reason why I've left in the empty
bochs_crtc_atomic_enable() callback ...
cheers,
Gerd
Powered by blists - more mailing lists