drm: Restrict drm_mode_set_config_internal to non-atomic drivers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Mar 2017 21:50:55 +0000 (22:50 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Mar 2017 07:55:46 +0000 (09:55 +0200)
commitd49473a53aec5bff366c607bd2a0388554b112f5
tree822ccf0eecccba095bcfa446ea69879cc6b3c0d9
parent2c77bb29d3985e73f8c780cfd20fdb2f491943ee
drm: Restrict drm_mode_set_config_internal to non-atomic drivers

This is another case where we really can't reconstruct a acquire ctx
in any useful fashion because all the callers are legacy drivers. So
like drm_plane_force_disable simply restrict it to non-atomic drivers
so that it's clear we're ok with passing a NULL ctx.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170322215058.8671-17-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_crtc.c