[Intel-gfx] [PATCH v3 0/10] eDP DRRS based on frontbuffer tracking
Vandana Kannan
vandana.kannan at intel.com
Fri Jan 9 12:55:55 PST 2015
This patch series inserts DRRS into frontbuffer tracking mechanism.
1. Previous submission for this feature was designed considering only eDP
DRRS. In this series, apart from following fb tracking, changes have been made
to make structures generic so that it can be of use to any other code
addition to support DRRS with other display types.
2. DRRS support is checked based on VBT setting and panel's capability (if
more than one RR is supported).
3. Based on DRRS support availability, related structures are initialized or
cleaned up through calls from enable/disable DDI respectively.
4. Since flip() indicates busyness, changes have been made to invalidate
DRRS during flip. This changes RR back to preferred mode RR. New work to set
low RR is scheduled after a delay of 1 second.
5. This series includes patches to support RR switching on all platforms.
v2: As discussed with Daniel, discarding the patch which added a module
param to specify the delay before entering DRRS. This delay has been fixed
to 1 second.
The call to invalidate DRRS from page_flip still remains - will be
changed (or kept as is) depending on the behavior on Android..
Right now testing is done using vbltest in libdrm.. But i-g-t for DRRS is WIP.
v3: Removed the call to invalidate DRRS from page flip. If DRRS
transitions dont work on Android, then check by adding back this call.
Added documentation patch and a debugfs entry to know DRRS status (this
would be used in i-g-t). Added an RFC patch for i-g-t.
Durgadoss R (1):
drm/i915: Enable eDP DRRS for CHV
Vandana Kannan (9):
drm/i915: Modifying structures related to DRRS
drm/i915: Initialize DRRS delayed work
drm/i915: Enable/disable DRRS
drm/i915: DRRS calls based on frontbuffer
drm/i915/bdw: Add support for DRRS to switch RR
drm/i915: Support for RR switching on VLV
Documentation/drm: DocBook integration for DRRS
drm/i915: Add debugfs entry for DRRS
kms_drrs: Test DRRS entry and exit
Documentation/DocBook/drm.tmpl | 11 ++
drivers/gpu/drm/i915/i915_debugfs.c | 18 ++
drivers/gpu/drm/i915/i915_drv.h | 32 +++-
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_ddi.c | 2 +
drivers/gpu/drm/i915/intel_display.c | 13 +-
drivers/gpu/drm/i915/intel_dp.c | 303 +++++++++++++++++++++++++++----
drivers/gpu/drm/i915/intel_drv.h | 26 +--
drivers/gpu/drm/i915/intel_frontbuffer.c | 2 +
9 files changed, 340 insertions(+), 68 deletions(-)
--
2.0.1
More information about the Intel-gfx
mailing list