diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-03-05 11:07:22 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-08 00:10:09 +0300 |
commit | 807f93ac6a1d37498fcd8f6af28f1e5f569ad8e4 (patch) | |
tree | 8c4c9885b6a150b9b1c183408a78922357b93fdb /drivers/gpu/drm/amd/include/cgs_common.h | |
parent | cdd02dda4ff94b8f86c2c478cce7218e4613dc56 (diff) | |
download | linux-807f93ac6a1d37498fcd8f6af28f1e5f569ad8e4.tar.xz |
drm/amd/pp: Remove cgs wrapper function for temperature update
Reviewed-by: Alex Deucher <alexdeucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/cgs_common.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/cgs_common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h index 113ba6f07171..7f26f2054bce 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h @@ -354,9 +354,6 @@ typedef int (*cgs_enter_safe_mode)(struct cgs_device *cgs_device, bool en); typedef void (*cgs_lock_grbm_idx)(struct cgs_device *cgs_device, bool lock); -typedef int (*cgs_set_temperature_range)(struct cgs_device *cgs_device, - int min_temperature, - int max_temperature); struct cgs_ops { /* memory management calls (similar to KFD interface) */ cgs_alloc_gpu_mem_t alloc_gpu_mem; @@ -389,7 +386,6 @@ struct cgs_ops { cgs_is_virtualization_enabled_t is_virtualization_enabled; cgs_enter_safe_mode enter_safe_mode; cgs_lock_grbm_idx lock_grbm_idx; - cgs_set_temperature_range set_temperature_range; }; struct cgs_os_ops; /* To be define in OS-specific CGS header */ @@ -465,7 +461,5 @@ struct cgs_device #define cgs_lock_grbm_idx(cgs_device, lock) \ CGS_CALL(lock_grbm_idx, cgs_device, lock) -#define cgs_set_temperature_range(dev, min_temp, max_temp) \ - CGS_CALL(set_temperature_range, dev, min_temp, max_temp) #endif /* _CGS_COMMON_H */ |