Re: [PATCH] drm: amd: amdgpu: constify ttm_place structures.

2017-07-03 Thread Christian König
Am 02.07.2017 um 11:13 schrieb Arvind Yadav: ttm_place are not supposed to change at runtime. All functions working with ttm_place provided by work with const ttm_place. So mark the non-const structs as const. Signed-off-by: Arvind Yadav Reviewed-by: Christian König --- drivers/gpu/drm/

[PATCH] drm: amd: amdgpu: constify ttm_place structures.

2017-07-02 Thread Arvind Yadav
ttm_place are not supposed to change at runtime. All functions working with ttm_place provided by work with const ttm_place. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH] drm: amd: amdgpu: constify ttm_place structures.

2017-07-02 Thread Christian König
Am 02.07.2017 um 11:13 schrieb Arvind Yadav: ttm_place are not supposed to change at runtime. All functions working with ttm_place provided by work with const ttm_place. So mark the non-const structs as const. Signed-off-by: Arvind Yadav Reviewed-by: Christian König --- drivers/gpu/drm/