It is a bug. I will fix it.
Best Regars
Rex
-Original Message-
From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
Sent: Tuesday, May 10, 2016 3:42 AM
To: Zhu, Rex
Cc: dri-devel at lists.freedesktop.org
Subject: re: drm/amd/powerplay: enable dpm for baffin.
Hello Rex Zhu,
This is a
Hello Rex Zhu,
This is a semi-automatic email about new static checker warnings.
The patch a23eefa2f461: "drm/amd/powerplay: enable dpm for baffin."
from Nov 19, 2015, leads to the following Smatch complaint:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_h
Alex Deucher gmail.com> writes:
> +
> + tmp_result = ellesmere_enable_thermal_auto_throttle(hwmgr);
> + PP_ASSERT_WITH_CODE((0 == tmp_result),
> + "Failed to enable thermal auto throttle!", result =
> tmp_result);
> +
> + tmp_result = ellesmere_pcie_performance_re
From: Rex Zhu
Signed-off-by: Rex Zhu
Reviewed-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile |3 +-
.../amd/powerplay/hwmgr/ellesmere_dyn_defaults.h | 62 +
.../gpu/drm/amd/powerplay/hwmgr/ellesmere_hwmgr.c | 4560
.../gpu/drm/amd/powerpla