[PATCH] drm: Fix GETCONNECTOR regression

Daniel Vetter daniel.vetter at ffwll.ch
Tue Jun 20 18:50:35 UTC 2017


On Tue, Jun 20, 2017 at 11:16 AM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> In
>
> commit 91eefc05f0ac71902906b2058360e61bd25137fe
> Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> Date:   Wed Dec 14 00:08:10 2016 +0100
>
>     drm: Tighten locking in drm_mode_getconnector
>
> I reordered the logic a bit in that IOCTL, but that broke userspace
> since it'll get the new mode list, but not the new property values.
> Fix that again.
>
> Fixes: 91eefc05f0ac ("drm: Tighten locking in drm_mode_getconnector")
> Cc: Sean Paul <seanpaul at chromium.org>
> Cc: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: dri-devel at lists.freedesktop.org
> Reported-by: "H.J. Lu" <hjl.tools at gmail.com>
> Cc: "H.J. Lu" <hjl.tools at gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Some dim fixes failed me, also needs:

Cc: <stable at vger.kernel.org> # v4.11+
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list