On Wed, Jun 27, 2018 at 6:25 AM, rex zhu <[email protected]> wrote: > use ppfeaturemask to enable/disable stutter mode. > > Signed-off-by: Rex Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]> > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 d399f76..01d14d8 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > @@ -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_pp_feature_mask & > PP_STUTTER_MODE ? false : true; > break; > #endif > default: > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
