1. 13 6月, 2013 2 次提交
    • D
      drm/i915: display pll hw state readout and checking · 5358901f
      Daniel Vetter 提交于
      Currently still with an empty register state, this will follow in a
      next step. This one here just creates the new vfunc and uses it for
      cross-checking, initial state takeover and the dpll assert function.
      
      And add a FIXME for the ddi pll readout code, which still needs to be
      converted over.
      
      v2:
      - Add some hw state readout debug output.
      - Also cross check the enabled crtc counting.
      
      Note that I've botched up the patch ordering, and before this patch
      we've read out the pll selection correctly, but did not reconstruct
      the refcounts properly. See the bug link.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65673Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5358901f
    • D
      drm/i915: pnv dpll doesn't use m1! · 7df00d7a
      Daniel Vetter 提交于
      So don't try to store it in the DPLL_FP register.
      
      Otherwise it looks like the limits for pineview are correct: It has
      it's own clock computation code, which doesn't use an offset for n
      divisors, and the register value based m limits look sane enough.
      
      v2: Rebase on top of the pineview clock refactor and fixup up the
      commit message: It's m1 pnv doens't care about, not m2!
      
      Quoting Damien's review:
      
        - "n can vary between 2 and 6, but we declare the 3-6 as limits.
        - "p1 seems to be able to go up to 9
        - "the m upper limit seems a bit big, but the docs are a bit shy on
          that values for pnv.
      
      "Otherwise, the change itself seems good:"
      Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      7df00d7a
  2. 12 6月, 2013 2 次提交
  3. 11 6月, 2013 19 次提交
  4. 10 6月, 2013 2 次提交
  5. 08 6月, 2013 1 次提交
    • V
      drm/i915: Make g4x_fixup_plane() operational again · 22e407d7
      Ville Syrjälä 提交于
      Don't enable the cursor until g4x_fixup_plane() had a chance to do
      cast its magic spell.
      
      Egbert writes:
      "Today I had the chance to test this. First I tried
       if I can still reproduce the blank with this patch
       added when I disable my voodoo g4x_fixup_plane():
       It turned out it still happens however very rarely
       (like 1 out of 20 tries). When I reenabled my voodoo
       the issue still occurred.
       I had to switch two lines around, ie:
      
               intel_enable_plane(dev_priv, plane, pipe);
               if (IS_G4X(dev))
                       g4x_fixup_plane(dev_priv, pipe);
       +       intel_crtc_update_cursor(crtc, true);
      
       to avoid the blank screen issue - which is it didn't
       happen in ~75 tries."
      
      v2: Add a comment to remind people of the ordering constraints
      Acked-by: NEgbert Eich <eich@suse.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      22e407d7
  6. 07 6月, 2013 8 次提交
  7. 06 6月, 2013 6 次提交