1. 16 5月, 2014 1 次提交
    • B
      drm/i915/bdw: Implement a basic PM interrupt handler · 0961021a
      Ben Widawsky 提交于
      Almost all of it is reusable from the existing code. The primary
      difference is we need to do even less in the interrupt handler, since
      interrupts are not shared in the same way.
      
      The patch is mostly a copy-paste of the existing snb+ code, with updates
      to the relevant parts requiring changes to the interrupt handling. As
      such it /should/ be relatively trivial. It's highly likely that I missed
      some places where I need a gen8 version of the PM interrupts, but it has
      become invisible to me by now.
      
      This patch could probably be split into adding the new functions,
      followed by actually handling the interrupts. Since the code is
      currently disabled (and broken) I think the patch stands better by
      itself.
      
      v2: Move the commit about not touching the ringbuffer interrupt to the
      snb_* function where it belongs (Rodrigo)
      
      v3: Rebased on Paulo's runtime PM changes
      
      v4: Not well validated, but rebase on
      commit 730488b2
      Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Date:   Fri Mar 7 20:12:32 2014 -0300
      
          drm/i915: kill dev_priv->pm.regsave
      
      v5: Rebased on latest code base. (Deepak)
      
      v6: Remove conflict markers, Unnecessary empty line and use right
      IIR interrupt (Ville)
      
      v7: mask modified without rmw (Ville Syrjälä)
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDeepak S <deepak.s@linux.intel.com>
      Signed-off-by: NMika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      0961021a
  2. 13 5月, 2014 6 次提交
  3. 07 5月, 2014 5 次提交
  4. 05 5月, 2014 3 次提交
  5. 25 4月, 2014 1 次提交
  6. 10 4月, 2014 2 次提交
    • P
      drm/i915: Add support for DRRS to switch RR · 439d7ac0
      Pradeep Bhat 提交于
      This patch computes and stored 2nd M/N/TU for switching to different
      refresh rate dynamically. PIPECONF_EDP_RR_MODE_SWITCH bit helps toggle
      between alternate refresh rates programmed in 2nd M/N/TU registers.
      
      v2: Daniel's review comments
      Computing M2/N2 in compute_config and storing it in crtc_config
      
      v3: Modified reference to edp_downclock and edp_downclock_avail based on the
      changes made to move them from dev_private to intel_panel.
      
      v4: Modified references to is_drrs_supported based on the changes made to
      rename it to drrs_support.
      
      v5: Jani's review comments
      Removed superfluous return statements. Changed support for Gen 7 and above.
      Corrected indentation. Re-structured the code which finds crtc and connector
      from encoder. Changed some logs to be less verbose.
      
      v6: Modifying i915_drrs to include only intel connector as intel_dp can be
      derived from intel connector when required.
      
      v7: As per internal review comments, acquiring mutex just before accessing
      drrs RR. As per Chris's review comments, added documentation about the use
      of locking in the function.
      
      v8: Incorporated Jani's review comments.
      Removed reference to edp_downclock.
      
      v9: Jani's review comments. Modified comment in set_drrs. Changed index to
      type edp_drrs_refresh_rate_type. Check if PSR is enabled before setting
      registers fo DRRS.
      Signed-off-by: NPradeep Bhat <pradeep.bhat@intel.com>
      Signed-off-by: NVandana Kannan <vandana.kannan@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      439d7ac0
    • B
      drm/i915: Add more registers to the whitelist for mesa · 113a0476
      Brad Volkin 提交于
      These are additional registers needed for performance monitoring and
      ARB_draw_indirect extensions in mesa.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76719
      Cc: Kenneth Graunke <kenneth@whitecape.org>
      Signed-off-by: NBrad Volkin <bradley.d.volkin@intel.com>
      Reviewed-by: NKenneth Graunke <kenneth@whitecape.org>
      [danvet: Squash in fixup from Brad requested by Ken.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      113a0476
  7. 09 4月, 2014 4 次提交
  8. 03 4月, 2014 2 次提交
  9. 02 4月, 2014 12 次提交
  10. 29 3月, 2014 2 次提交
  11. 21 3月, 2014 1 次提交
  12. 12 3月, 2014 1 次提交