projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22994e1
)
drm/amd/display: Ctrl stutter mode through module parameter
author
rex zhu
<rex.zhu@amd.com>
Wed, 27 Jun 2018 10:19:08 +0000
(18:19 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:51 +0000
(16:38 -0500)
use ppfeaturemask to enable/disable stutter mode.
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/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 356ac27d01802944ffde49b683003fbc8992d74d..74683071fa817a422d30527af716ad7f6fa4bb75 100644
(file)
--- a/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-1535,7
+1535,7
@@
static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
/*
* Temporary disable until pplib/smu interaction is implemented
*/
- dm->dc->debug.disable_stutter = true;
+ dm->dc->debug.disable_stutter =
amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false :
true;
break;
#endif
default: