summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_opregion.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-23 12:03:31 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-27 18:10:53 +0100
commit3f52c6edf7d72ef71d82c1f5ad4038ec83a31549 (patch)
treeb8d8e2a67f0815fa508a6ce2d27614340fcce2bd /drivers/gpu/drm/i915/intel_opregion.c
parent8634bd4aea1b59777e5fd63be15300107ab454cc (diff)
downloadop-kernel-dev-3f52c6edf7d72ef71d82c1f5ad4038ec83a31549.zip
op-kernel-dev-3f52c6edf7d72ef71d82c1f5ad4038ec83a31549.tar.gz
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.c6
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 d8de1d5..71e87ab 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.
OpenPOWER on IntegriCloud