summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-05-21 01:35:00 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-06-28 20:03:18 +0300
commit52500de68fbb0c11403fd8db13aace99e5ef4f40 (patch)
treed7c2b9a45cb4e670b41c42af09e9197da4603ea2 /drivers/gpu/drm/drm_gem.c
parent8735f16803f00f5efca7738afe3b9a304b539181 (diff)
downloadlinux-52500de68fbb0c11403fd8db13aace99e5ef4f40.tar.xz
drm/vmwgfx: Don't look at state->allow_modeset
That's purely for the uapi layer to implement the ALLOW_MODESET flag. Drivers should instead look at the state, e.g. through drm_atomic_crtc_needs_modeset(), which vmwgfx already does. Also remove the confusing comment, since checking allow_modeset is at best a micro optimization. v2: Rebase Reviewed-by: Deepak Rawat <drawat@vmware.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: VMware Graphics <linux-graphics-maintainer@vmware.com> Cc: Thomas Hellstrom <thellstrom@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190520223500.6032-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions