]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add stutter mode ctrl in module parameter
authorrex zhu <rex.zhu@amd.com>
Wed, 27 Jun 2018 10:08:43 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:51 +0000 (16:38 -0500)
commit10bb1f4417835eb462fd27d87d6e75967b098fea
tree3d03108fd3024e37798815e2c8e28b1bb69782fc
parent6318cfd8abc2fbfeb0a9ac34184bfec6d3e250e9
drm/amdgpu: Add stutter mode ctrl in module parameter

Enable stutter mode can save power in low DRAM use cases
including but not limited to productivity application use,
web browsing, and video playback.

Currently this feature is disabled by default.

Make bit 17 in module parameter amdgpu_pp_feature_mask
as stutter mode mask, so user can enable/disable this feature easily.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/include/amd_shared.h