Skip to contentSkip to conversation

drm/amd/display: Ctrl stutter mode through module parameter

PATCH In review rex zhu 1 participant 1 message Jun 26, 2018

Subsystems (3)
lore
Share & tools
lore

rex zhu

author
#0 lore raw

PATCH 2/2 drm/amd/display: Ctrl stutter mode through module parameter

User can enable/disable stutter mode through module parameter stutter_mode.

---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
index fcc8631..0674218 100644
@@ -1531,7 +1531,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_stutter_mode ? false : true;
 		break;
 #endif
 	default:
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx