On Fri, Nov 25, 2016 at 6:39 AM, Rex Zhu <Rex.Zhu at amd.com> wrote: > can't get uvd's state by uvd_enabled. uvd_enabled > is used for request higher mclk. > in multi-display case, mclk has been in highest clock, > no matter uvd's state changed, uvd_enabled will not > be changed. > > Change-Id: Iedbe3b7ce085e9199fa7fddb88185bfd16f26612 > Signed-off-by: Rex Zhu <Rex.Zhu at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c > index 1027f92..bda9e3d 100644 > --- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c > +++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c > @@ -6083,7 +6083,7 @@ ci_dpm_debugfs_print_current_performance_level(struct amdgpu_device *adev, > activity_percent = activity_percent > 100 ? 100 : activity_percent; > } > > - seq_printf(m, "uvd %sabled\n", pi->uvd_enabled ? "en" : "dis"); > + seq_printf(m, "uvd %sabled\n", pi->uvd_power_gated ? "dis" : "en"); > seq_printf(m, "vce %sabled\n", rps->vce_active ? "en" : "dis"); > seq_printf(m, "power level avg sclk: %u mclk: %u\n", > sclk, mclk); > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx