Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (6 weeks ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/drivers/gpu/drm/i915/intel_pm.c

    r30821 r31662  
    68046804static void vlv_init_display_clock_gating(struct drm_i915_private *dev_priv)
    68056805{
    6806         I915_WRITE(DSPCLK_GATE_D, VRHUNIT_CLOCK_GATE_DISABLE);
     6806        u32 val;
     6807
     6808        /*
     6809        * On driver load, a pipe may be active and driving a DSI display.
     6810        * Preserve DPOUNIT_CLOCK_GATE_DISABLE to avoid the pipe getting stuck
     6811        * (and never recovering) in this case. intel_dsi_post_disable() will
     6812        * clear it when we turn off the display.
     6813        */
     6814        val = I915_READ(DSPCLK_GATE_D);
     6815        val &= DPOUNIT_CLOCK_GATE_DISABLE;
     6816        val |= VRHUNIT_CLOCK_GATE_DISABLE;
     6817        I915_WRITE(DSPCLK_GATE_D, val);
    68076818
    68086819        /*
Note: See TracChangeset for help on using the changeset viewer.