summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_params.h
diff options
context:
space:
mode:
authorPuthikorn Voravootivat <puthik@chromium.org>2017-06-22 22:03:39 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-23 13:24:55 +0300
commitae25eceab616d16a07bcaa434b84463d58a3bdc3 (patch)
treebc2a401046a2376e4ab210e531175860ad176a9c /drivers/gpu/drm/i915/i915_params.h
parent560a758d39c616f83ac25ff6e0816a49ebe6401c (diff)
downloadlinux-ae25eceab616d16a07bcaa434b84463d58a3bdc3.tar.xz
drm/i915: Add option to support dynamic backlight via DPCD
This patch adds option to enable dynamic backlight for eDP panel that supports this feature via DPCD register and set minimum / maximum brightness to 0% and 100% of the normal brightness. Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170622190339.142671-4-puthik@chromium.org
Diffstat (limited to 'drivers/gpu/drm/i915/i915_params.h')
-rw-r--r--drivers/gpu/drm/i915/i915_params.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h
index 0d6cf9138dc4..057e203e6bda 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu/drm/i915/i915_params.h
@@ -67,7 +67,8 @@
func(bool, verbose_state_checks); \
func(bool, nuclear_pageflip); \
func(bool, enable_dp_mst); \
- func(bool, enable_gvt)
+ func(bool, enable_gvt); \
+ func(bool, enable_dbc)
#define MEMBER(T, member) T member
struct i915_params {