1. 19 7月, 2013 1 次提交
  2. 18 7月, 2013 1 次提交
    • R
      drm/i915: Hook PSR functionality · 4906557e
      Rodrigo Vivi 提交于
      PSR must be enabled after transcoder and port are running.
      And it is only available for HSW.
      
      v2: move enable/disable to intel_ddi
      v3: The spec suggests PSR should be disabled even before backlight (by pzanoni)
      v4: also disabling and enabling whenever panel is disabled/enabled.
      v5: make it last patch to avoid breaking whenever bisecting. So calling for
          update and force exit came to this patch along with enable/disable calls.
      v6: Remove unused and unecessary psr_enable/disable calls, as notice by Paulo.
      
      CC: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      [danvet: Drop the psr exit code in the busy ioctl since I didn't merge
      that part of the infrastructure yet - it needs more thought.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4906557e
  3. 16 7月, 2013 1 次提交
  4. 13 7月, 2013 4 次提交
  5. 12 7月, 2013 1 次提交
  6. 10 7月, 2013 1 次提交
  7. 09 7月, 2013 3 次提交
    • D
      drm/i915: dvo needs a P2 divisor of 4 · 5d536e28
      Daniel Vetter 提交于
      Section 1.5.4, "DPLL A Control Register" from Bspec about bit 23
      "FPA0/A1 P2 Clock Divide":
      
      0 = Divide by 2
      1 = Divide by 4. This bit must be set in DVO non-gang mode
      
      So copy the current limits (which should be good for i8xx) and create
      a new set for dvo encoders.
      Reviewed-by: NChris Wilson <chris@chris-wilson.oc.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5d536e28
    • D
      drm/i915: fix dvo DPLL regression · 4a33e48d
      Daniel Vetter 提交于
      I've missed that intel_dvo_mode_set changes the dpll configuration.
      Hence when I've reworked the sequence to only enable the dpll in the
      crtc_enable callback in
      
      commit 66e3d5c0
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Sun Jun 16 21:24:16 2013 +0200
      
          drm/i915: move i9xx dpll enabling into crtc enable function
      
      that special DVO bit was lost. Some BSpec reading confirms that it's
      only needed for DVO encoders. Section 1.5.4, "DPLL A Control Register"
      for bit 30:
      
      "2X Clock Enable. When driving In non-gang DVO modes such as a
      connected flat panel or TV, a 2X" version of the clock is needed. When
      not using the 2X output it should be disabled. This bit cannot be set
      when driving the integrated LVDS port on devices such as Montara-GM."
      
      Fix this regression up.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66516
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reported-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Partially-tested-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4a33e48d
    • B
      drm/i915: Getter/setter for object attributes · f343c5f6
      Ben Widawsky 提交于
      Soon we want to gut a lot of our existing assumptions how many address
      spaces an object can live in, and in doing so, embed the drm_mm_node in
      the object (and later the VMA).
      
      It's possible in the future we'll want to add more getter/setter
      methods, but for now this is enough to enable the VMAs.
      
      v2: Reworked commit message (Ben)
      Added comments to the main functions (Ben)
      sed -i "s/i915_gem_obj_set_color/i915_gem_obj_ggtt_set_color/" drivers/gpu/drm/i915/*.[ch]
      sed -i "s/i915_gem_obj_bound/i915_gem_obj_ggtt_bound/" drivers/gpu/drm/i915/*.[ch]
      sed -i "s/i915_gem_obj_size/i915_gem_obj_ggtt_size/" drivers/gpu/drm/i915/*.[ch]
      sed -i "s/i915_gem_obj_offset/i915_gem_obj_ggtt_offset/" drivers/gpu/drm/i915/*.[ch]
      (Daniel)
      
      v3: Rebased on new reserve_node patch
      Changed DRM_DEBUG_KMS to actually work (will need fixing later)
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f343c5f6
  8. 06 7月, 2013 2 次提交
  9. 02 7月, 2013 6 次提交
  10. 01 7月, 2013 16 次提交
  11. 18 6月, 2013 4 次提交