lkml.org 
[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[086/289] drm/i915/crt: Make sure the hotplug interrupt is enabled
    2.6.36-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Yuanhan Liu <yuanhan.liu@intel.com>

    commit 1510a97182b4ddb5fe3c4e8d05240f7cd6fd13e7 upstream.

    After disabling the hotplug interrupts for VGA detection on Ironlake, be
    sure to re-enable them again afterwards.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30378
    Signed-off-by: Yuanhan Liu <yuanhan.liu@intel.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/gpu/drm/i915/intel_crt.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/drivers/gpu/drm/i915/intel_crt.c
    +++ b/drivers/gpu/drm/i915/intel_crt.c
    @@ -191,7 +191,8 @@ static bool intel_ironlake_crt_detect_ho
    DRM_DEBUG_KMS("timed out waiting for FORCE_TRIGGER");

    if (turn_off_dac) {
    - I915_WRITE(PCH_ADPA, temp);
    + /* Make sure hotplug is enabled */
    + I915_WRITE(PCH_ADPA, temp | ADPA_CRT_HOTPLUG_ENABLE);
    (void)I915_READ(PCH_ADPA);
    }




    \
     
     \ /
      Last update: 2010-12-08 02:11    [W:0.019 / U:30.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site