24 Oct, 2012

6 commits


23 Oct, 2012

14 commits


22 Oct, 2012

11 commits


20 Oct, 2012

2 commits


18 Oct, 2012

1 commit

  • On the worst scenario, users with new hardwares and old kernel from
    enabling times can get black screens. So, from now on, this
    perliminary_hw_support module parameter shall be used by all upcoming
    platforms that are still under enabling. The second option would be to
    merge the pci ids after basic modeset works, but that makes testing
    and development while bringing up hw a rather tedious afair.

    Although it is uncomfortable for developers use this extra variable it
    brings more stability for end users.

    Signed-off-by: Rodrigo Vivi
    Reviewed-by: Dave Airlie
    [danvet: dropped the i915_ param prefix, i915.i915_ is just tedious.]
    Signed-off-by: Daniel Vetter

    Rodrigo Vivi
     

17 Oct, 2012

1 commit


16 Oct, 2012

5 commits

  • This reverts commit 2477367083b3eaa97f87993ab26627a02f350551.

    If (for whatever reason) the DP sink device never asks for the maximal
    voltage level, we never don't hit the check that should bail us out
    after 5 retries of the same voltage. Which leads to an endless loop in
    the DP link training code, which hangs the driver.

    Now some more DP link training experiments on eDP panels seem to
    indicate that our training algorithm isn't robust enough anyway and
    needs more work. Hence for 3.7-fixes, let's just revert the regressing
    commit instead of trying to apply more duct-tape.

    Reported-by: Oleksij Rempel
    Acked-by: Chris Wilson
    Signed-off-by: Daniel Vetter

    Daniel Vetter
     
  • For TV and LVDS encoders intel_sdvo_set_input_timings_for_mode()
    is called to pass a mode to the sdvo chip and retrieve a dtd
    containing information needed to calculate the adjusted_mode which
    is done by intel_sdvo_get_dtd_from_mode().
    To set this adjusted_mode as input mode for the sdvo chip, a dtd is
    recalculated using intel_sdvo_get_mode_from_dtd(). During this round
    trip the sdvo_flags contained in the dtd obtained from the hardware
    are lost.
    Since these flags cannot be ignored in all cases this patch preserves
    and restores them.

    This regression has been introduced in

    commit 6651819b4b4fc3caa6964c5d825eb4bb996f3905
    Author: Daniel Vetter
    Date: Sun Apr 1 19:16:18 2012 +0200

    drm/i915: handle input/output sdvo timings separately in mode_set

    Signed-off-by: Egbert Eich
    Signed-off-by: Daniel Vetter

    Egbert Eich
     
  • SDVO LVDS are not clonable as the input mode gets adjusted by
    the LVDS encoder.

    Signed-off-by: Egbert Eich
    Signed-off-by: Daniel Vetter

    Egbert Eich
     
  • NCR machines with LVDS panels using Intel chipsets need to have the
    QUIRK_INVERT_BRIGHTNESS bit set.
    Unfortunately NCR doesn't set a meaningful subvendor/subdevice ID,
    therefore we add a DMI dependent quirk list.

    Signed-off-by: Egbert Eich
    [danvet: fixup whitespace fail.]
    Signed-off-by: Daniel Vetter

    Egbert Eich
     
  • The DPLL multipiler is set up in intel_display.c:i9xx_update_pll()
    called from i9xx_crtc_mode_set().
    There the DPLL multiplier is adjusted so that the SDVO gets a sufficient
    bus clock.
    When cloning a CRTC between an SDVO driven encoder and the standard
    DAC the DAC setup code reseted the multiplier value to 1 thus undoing
    the correct setup. There is no need to touch the multiplier in the DAC
    setup code: the correct value (i.e. 1 in case no SDVO encoder is used)
    is set by i9xx_update_pll() already.
    A comment at the code suggested that this code is a left over from the
    days when there was no setup for clone modes.

    Signed-off-by: Egbert Eich
    Signed-off-by: Daniel Vetter

    Egbert Eich