wakeref = intel_display_power_get(display, encoder->power_domain);
 
-       if (I915_HAS_HOTPLUG(display)) {
+       if (HAS_HOTPLUG(display)) {
                /* We can not rely on the HPD pin always being correctly wired
                 * up, for example many KVM do not pass it through, and so
                 * only trust an assertion that the monitor is connected.
         * broken monitor (without edid) to work behind a broken kvm (that fails
         * to have the right resistors for HP detection) needs to fix this up.
         * For now just bail out. */
-       if (I915_HAS_HOTPLUG(display)) {
+       if (HAS_HOTPLUG(display)) {
                status = connector_status_disconnected;
                goto out;
        }
 
        crt->base.power_domain = POWER_DOMAIN_PORT_CRT;
 
-       if (I915_HAS_HOTPLUG(display) &&
+       if (HAS_HOTPLUG(display) &&
            !dmi_check_system(intel_spurious_crt_detect)) {
                crt->base.hpd_pin = HPD_CRT;
                crt->base.hotplug = intel_encoder_hotplug;
 
 #define HAS_GMBUS_BURST_READ(__display)        (DISPLAY_VER(__display) >= 10 || (__display)->platform.kabylake)
 #define HAS_GMBUS_IRQ(__display)       (DISPLAY_VER(__display) >= 4)
 #define HAS_GMCH(__display)            (DISPLAY_INFO(__display)->has_gmch)
+#define HAS_HOTPLUG(__display)         (DISPLAY_INFO(__display)->has_hotplug)
 #define HAS_HW_SAGV_WM(__display)      (DISPLAY_VER(__display) >= 13 && !(__display)->platform.dgfx)
 #define HAS_IPC(__display)             (DISPLAY_INFO(__display)->has_ipc)
 #define HAS_IPS(__display)             ((__display)->platform.haswell_ult || (__display)->platform.broadwell)
                                         HAS_DSC(__display))
 #define HAS_VRR(__display)             (DISPLAY_VER(__display) >= 11)
 #define INTEL_NUM_PIPES(__display)     (hweight8(DISPLAY_RUNTIME_INFO(__display)->pipe_mask))
-#define I915_HAS_HOTPLUG(__display)    (DISPLAY_INFO(__display)->has_hotplug)
 #define OVERLAY_NEEDS_PHYSICAL(__display)      (DISPLAY_INFO(__display)->overlay_needs_physical)
 #define SUPPORTS_TV(__display)         (DISPLAY_INFO(__display)->supports_tv)
 
 
 
 void i9xx_display_irq_reset(struct intel_display *display)
 {
-       if (I915_HAS_HOTPLUG(display)) {
+       if (HAS_HOTPLUG(display)) {
                i915_hotplug_interrupt_update(display, 0xffffffff, 0);
                intel_de_rmw(display, PORT_HOTPLUG_STAT(display), 0, 0);
        }
 
        intel_hpd_init_early(display);
 
        if (HAS_GMCH(display)) {
-               if (I915_HAS_HOTPLUG(display))
+               if (HAS_HOTPLUG(display))
                        display->funcs.hotplug = &i915_hpd_funcs;
        } else {
                if (HAS_PCH_DG2(i915))
 
        struct intel_display *display = to_intel_display(&intel_sdvo->base);
        u16 hotplug;
 
-       if (!I915_HAS_HOTPLUG(display))
+       if (!HAS_HOTPLUG(display))
                return 0;
 
        /*
 
                enable_mask |= I915_ASLE_INTERRUPT;
        }
 
-       if (I915_HAS_HOTPLUG(dev_priv)) {
+       if (HAS_HOTPLUG(dev_priv)) {
                dev_priv->irq_mask &= ~I915_DISPLAY_PORT_INTERRUPT;
                enable_mask |= I915_DISPLAY_PORT_INTERRUPT;
        }
 
                ret = IRQ_HANDLED;
 
-               if (I915_HAS_HOTPLUG(dev_priv) &&
+               if (HAS_HOTPLUG(dev_priv) &&
                    iir & I915_DISPLAY_PORT_INTERRUPT)
                        hotplug_status = i9xx_hpd_irq_ack(display);