#include "intel_backlight_regs.h"
 #include "intel_connector.h"
 #include "intel_de.h"
+#include "intel_display_rpm.h"
 #include "intel_display_types.h"
 #include "intel_dp_aux_backlight.h"
 #include "intel_dsi_dcs_backlight.h"
 {
        struct intel_connector *connector = bl_get_data(bd);
        struct intel_display *display = to_intel_display(connector);
-       struct drm_i915_private *i915 = to_i915(connector->base.dev);
-       intel_wakeref_t wakeref;
        int ret = 0;
 
-       with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
+       with_intel_display_rpm(display) {
                u32 hw_level;
 
                drm_modeset_lock(&display->drm->mode_config.connection_mutex, NULL);
 
 
 #include "i915_drv.h"
 #include "intel_display.h"
+#include "intel_display_rpm.h"
 #include "intel_display_types.h"
 #include "intel_gmbus.h"
 
 {
        struct drm_i915_private *i915 = to_i915(display->drm);
        const struct vbt_header *vbt = NULL;
-       intel_wakeref_t wakeref;
 
        vbt = firmware_get_vbt(display, sizep);
 
         * through MMIO or PCI mapping
         */
        if (!vbt && IS_DGFX(i915))
-               with_intel_runtime_pm(&i915->runtime_pm, wakeref)
+               with_intel_display_rpm(display)
                        vbt = oprom_get_vbt(display, intel_rom_spi(i915), sizep, "SPI flash");
 
        if (!vbt)
-               with_intel_runtime_pm(&i915->runtime_pm, wakeref)
+               with_intel_display_rpm(display)
                        vbt = oprom_get_vbt(display, intel_rom_pci(i915), sizep, "PCI ROM");
 
        return vbt;
 
 #include "intel_de.h"
 #include "intel_display_power.h"
 #include "intel_display_power_well.h"
+#include "intel_display_rpm.h"
 #include "intel_display_types.h"
 #include "intel_hdcp.h"
 #include "intel_hdcp_gsc.h"
 
 static bool hdcp_key_loadable(struct intel_display *display)
 {
-       struct drm_i915_private *i915 = to_i915(display->drm);
        enum i915_power_well_id id;
-       intel_wakeref_t wakeref;
        bool enabled = false;
 
        /*
                id = SKL_DISP_PW_1;
 
        /* PG1 (power well #1) needs to be enabled */
-       with_intel_runtime_pm(&i915->runtime_pm, wakeref)
+       with_intel_display_rpm(display)
                enabled = intel_display_power_well_is_enabled(display, id);
 
        /*
 
 #include "intel_de.h"
 #include "intel_display.h"
 #include "intel_display_power.h"
+#include "intel_display_rpm.h"
 #include "intel_display_types.h"
 #include "intel_fb.h"
 #include "intel_fixed.h"
 {
        struct seq_file *m = file->private_data;
        struct drm_i915_private *i915 = m->private;
-       intel_wakeref_t wakeref;
+       struct intel_display *display = &i915->display;
        bool enable;
        int ret;
 
        if (ret < 0)
                return ret;
 
-       with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
+       with_intel_display_rpm(display) {
                if (!skl_watermark_ipc_enabled(i915) && enable)
-                       drm_info(&i915->drm,
+                       drm_info(display->drm,
                                 "Enabling IPC: WM will be proper only after next commit\n");
-               i915->display.wm.ipc_enabled = enable;
+               display->wm.ipc_enabled = enable;
                skl_watermark_ipc_update(i915);
        }