commit | 1aaa56029f47e16f9d03e25a313677f16212ad72 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sun Jul 02 14:43:58 2017 +0530 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jul 14 11:06:03 2017 -0400 |
tree | 5408f83f413733ded0cf362d420cc87e7c7d4d81 | |
parent | c4fc445a9ded54cfbe4fca6299c0fcb7dcd0b47b [diff] |
drm: amd: amdgpu: constify ttm_place structures. ttm_place are not supposed to change at runtime. All functions working with ttm_place provided by <drm/ttm/ttm_placement.h> work with const ttm_place. So mark the non-const structs as const. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>