summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_panel.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio2019-06-14 01:21:55 +0200
committerChris Wilson2019-06-14 16:58:33 +0200
commitc447ff7db34807082dcabbdcbbba2445b49211d9 (patch)
treea543a774659eeb0f7503123120860f1acc91cdfd /drivers/gpu/drm/i915/intel_panel.c
parentdrm/i915: update rpm_get/put to use the rpm structure (diff)
downloadkernel-qcow2-linux-c447ff7db34807082dcabbdcbbba2445b49211d9.tar.gz
kernel-qcow2-linux-c447ff7db34807082dcabbdcbbba2445b49211d9.tar.xz
kernel-qcow2-linux-c447ff7db34807082dcabbdcbbba2445b49211d9.zip
drm/i915: update with_intel_runtime_pm to use the rpm structure
Matching the underlying get/put functions. Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Imre Deak <imre.deak@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-8-daniele.ceraolospurio@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_panel.c')
-rw-r--r--drivers/gpu/drm/i915/intel_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
index 9cd4e37e3934..39d742094065 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -1288,7 +1288,7 @@ static int intel_backlight_device_get_brightness(struct backlight_device *bd)
intel_wakeref_t wakeref;
int ret = 0;
- with_intel_runtime_pm(dev_priv, wakeref) {
+ with_intel_runtime_pm(&dev_priv->runtime_pm, wakeref) {
u32 hw_level;
drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);