]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e31bcc71384fcc905c069b33b2f2d980ca33f24
tree812d24fd8141b3be119e8d1ffb7d7265d79371ff
parent022a432692343bd3aff6ab4daac3d3e772ac9681
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