diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-23 12:03:31 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-27 18:10:53 +0100 |
commit | 3f52c6edf7d72ef71d82c1f5ad4038ec83a31549 (patch) | |
tree | b8d8e2a67f0815fa508a6ce2d27614340fcce2bd /drivers/gpu/drm/i915/intel_opregion.c | |
parent | drm/i915: Remove regfile code&data for UMS suspend/resume (diff) | |
download | linux-3f52c6edf7d72ef71d82c1f5ad4038ec83a31549.tar.xz linux-3f52c6edf7d72ef71d82c1f5ad4038ec83a31549.zip |
drm/i915: Remove DRIVER_MODESET checks from modeset code
Mostly just checks in i915-private modeset ioctls.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_opregion.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_opregion.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index d8de1d5140a7..71e87abdcae7 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -744,10 +744,8 @@ void intel_opregion_init(struct drm_device *dev) return; if (opregion->acpi) { - if (drm_core_check_feature(dev, DRIVER_MODESET)) { - intel_didl_outputs(dev); - intel_setup_cadls(dev); - } + intel_didl_outputs(dev); + intel_setup_cadls(dev); /* Notify BIOS we are ready to handle ACPI video ext notifs. * Right now, all the events are handled by the ACPI video module. |