Re: [PATCH] drm: radeon: radeon_ttm: constify ttm_place structures.

2017-07-03 Thread Christian König
Am 02.07.2017 um 11:06 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. File size before: text data bss dec hex filename 9235

[PATCH] drm: radeon: radeon_ttm: 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. File size before: textdata bss dec hex filename 9235 344 136971525f3 drivers/gpu/drm/radeon/ra

Re: [PATCH] drm: radeon: radeon_ttm: constify ttm_place structures.

2017-07-02 Thread Christian König
Am 02.07.2017 um 11:06 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. File size before: text data bss dec hex filename 9235