summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-02-10 00:48:17 +0100
committerChristian König <christian.koenig@amd.com>2021-02-25 14:40:25 +0100
commit19bafac4f56f42c499e7343d884b7878204652d3 (patch)
tree2864be5bd0e564f398b6a31b788d9a314460dc47 /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
parentb6d4abc9ae627b071fef91c64a5ad8f884bbbc45 (diff)
drm/nouveau/ttm: constify static vm_operations_struct
The only usage of nouveau_ttm_vm_ops is to assign its address to the vm_ops field in the vm_area_struct struct. Make it const to allow the compiler to put it in read-only memory Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210209234817.55112-4-rikard.falkeborn@gmail.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
0 files changed, 0 insertions, 0 deletions