OSDN Git Service

drm/i915: Runtime disable for eDP DRRS
authorC, Ramalingam <ramalingam.c@intel.com>
Tue, 7 Nov 2017 18:38:23 +0000 (00:08 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 28 Dec 2017 16:55:03 +0000 (08:55 -0800)
commit35954e88bc5091ef82134e8c99c5bcc3b4c6772a
tree812d24fd8141b3be119e8d1ffb7d7265d79371ff
parentc8dae55a8ced625038d52d26e48273707fab2688
drm/i915: Runtime disable for eDP DRRS

Debugfs called i915_drrs_ctl is added to enable and disable the
eDP DRRS. Writing 0 will disable the feature, whereas non-zero
will enable the feature.

Possibility of disabling the DRRS, enables the testing of the
frontbuffer tracking based features (FBC, DRRS and PSR) as
standalone or any combination of the set.

[v2]: ctl interface is moved from module parameter to debugfs [Rodrigo]

Signed-off-by: C, Ramalingam <ramalingam.c@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510079903-29441-1-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/i915_debugfs.c