1. 01 6月, 2013 6 次提交
    • P
      drm/i915: implement IPS feature · 42db64ef
      Paulo Zanoni 提交于
      Intermediate Pixel Storage is a feature that should reduce the number
      of times the display engine wakes up memory to read pixels, so it
      should allow deeper PC states. IPS can only be enabled on ULT pipe A
      with 8:8:8 pipe pixel formats.
      
      With eDP 1920x1080 and correct watermarks but without FBC this moves
      my PC7 residency from 2.5% to around 38%.
      
      v2: - It's tied to pipe A, not port A
          - Add pipe_config support (Chris)
          - Add some assertions (Chris)
          - Rebase against latest dinq
      v3: - Don't ever set ips_enabled to false (Daniel)
          - Only check for ips_enabled at hsw_disable_ips (Daniel)
      v4: - Add hsw_compute_ips_config (Daniel)
          - Use the new dump_pipe_config (Daniel)
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      42db64ef
    • D
      drm/i915: fix up the edp power well check · e7a639c4
      Daniel Vetter 提交于
      Now that we track the cpu transcoder we need accurately in the pipe
      config we can finally fix up the transcoder check. With the current
      code eDP on port D will be broken since we'd errornously cut the
      power.
      
      For reference see
      
      commit 2124b72e
      Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Date:   Fri Mar 22 14:07:23 2013 -0300
      
          drm/i915: don't disable the power well yet
      
      v2:
      - Kill the now outdated comment (Paulo)
      - Add the missing crtc->base.enabled check and consolidate it (Paulo)
      - Smash all checks together, looks neater that way.
      
      v3: Kill the unused encoder variable.
      
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      e7a639c4
    • M
      drm/i915: release cursor when crtc is destroyed · 40ccc72b
      Mika Kuoppala 提交于
      crtc is holding a reference to a cursor bo and it needs
      to be released when crtc is destroyed so that we don't leak
      the cursor bo.
      
      v2: Enhance set and move cursor so that disabled
      cursor is handled correctly (Ville Syrjälä)
      Signed-off-by: NMika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      40ccc72b
    • D
      drm/i915: drop a few really redundant WARNs in hsw mode_set · 64eae941
      Daniel Vetter 提交于
      - Correct cpu->pch display matching is already check when we detect
        the PCH type at driver load.
      - Plane/pipe state is already checked both when a) enabling, b)
        disabling and in c) the modeset state checker. No need to go
        overboard and also check it in in between a) and b).
      
      Cc: Paulo Zanoni <przanoni@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      64eae941
    • D
      drm/i915: add basic pipe config dump support · c0b03411
      Daniel Vetter 提交于
      All this pipe config abstraction adds another layer of complexity, so
      it's good to have better visibility into what's going on exactly.
      Doesn't dump out everything yet, and some bits are a bit duplicated
      but this should be a good start.
      
      Note that at boot-up a lot of the fields are 0 even for enabled pipes,
      this is simply because our hw state readout code doesn't support
      everything.
      
      v2: Remove a few more now redudant debug output lines.
      
      v3: Review from Paulo
      - use transcoder_name
      - fix up format specifiers
      - add missing ':' in debug output
      
      Cc: Paulo Zanoni <przanoni@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c0b03411
    • D
      drm/i915: hw state readout&check support for cpu_transcoder · eccb140b
      Daniel Vetter 提交于
      This allows us to drop a bunch of ugly hacks and finally implement
      what
      
      commit cc464b2a
      Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Date:   Fri Jan 25 16:59:16 2013 -0200
      
          drm/i915: set TRANSCODER_EDP even earlier
      
      tried to achieve, but that was reverted again in
      
      commit bba2181c
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Fri Mar 22 10:53:40 2013 +0100
      
          Revert "drm/i915: set TRANSCODER_EDP even earlier"
      
      Now we should always have a consistent cpu_transcoder in the
      pipe_config.
      
      v2: Fix up the code as spotted by Paulo:
      - read the register for real
      - assign the right pipes
      - break out if the hw state doesn't make sense
      
      v3: Shut up gcc.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      eccb140b
  2. 24 5月, 2013 2 次提交
  3. 23 5月, 2013 1 次提交
  4. 21 5月, 2013 3 次提交
  5. 15 5月, 2013 3 次提交
  6. 11 5月, 2013 19 次提交
  7. 06 5月, 2013 6 次提交