summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_sysfs.c
diff options
context:
space:
mode:
authorPradeep Bhat <pradeep.bhat@intel.com>2014-03-28 05:44:57 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-04-01 22:58:30 +0200
commit83a7280ebc359726d4b79b8772c9fddd7fd03f43 (patch)
treeeec079b2d4390fa8ea582904e74f476ceb4ae907 /drivers/gpu/drm/i915/i915_sysfs.c
parentdrm: Make drm_clflush_virt_range() void* (diff)
downloadlinux-83a7280ebc359726d4b79b8772c9fddd7fd03f43.tar.xz
linux-83a7280ebc359726d4b79b8772c9fddd7fd03f43.zip
drm/i915: Adding VBT fields to support eDP DRRS feature
This patch reads the DRRS support and Mode type from VBT fields. The read information will be stored in VBT struct during BIOS parsing. The above functionality is needed for decision making whether DRRS feature is supported in i915 driver for eDP panels. This information helps us decide if seamless DRRS can be done at runtime to support certain power saving features. This patch was tested by setting necessary bit in VBT struct and merging the new VBT with system BIOS so that we can read the value. v2: Incorporated review comments from Chris Wilson Removed "intel_" as a prefix for DRRS specific declarations. v3: Incorporated Jani's review comments Removed function which deducts drrs mode from panel_type. Modified some print statements. Made changes to use DRRS_NOT_SUPPORTED as 0 instead of -1. v4: Incorporated Jani's review comments. Modifications around setting vbt drrs_type. Signed-off-by: Pradeep Bhat <pradeep.bhat@intel.com> Signed-off-by: Vandana Kannan <vandana.kannan@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Jani Nikula <jani.nikula@linux.intel.com> [danvet: Drop the misleading/redundant comment about the added drrs field in the vbt struct as discussed with Jani on irc.] Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_sysfs.c')
0 files changed, 0 insertions, 0 deletions