Some VRAM cleanups from Christian. Second patch needed some work to be able to compile with most recent amd-staging-drm-next. Tested on a couple of differing systems. Christian König (3): drm/amdgpu: use VRAM|GTT for a bunch of kernel allocations drm/amdgpu: rename vram_scratch into mem_scratch drm/amdgpu: cleanup visible vram size handling drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 27 ++++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 7 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 7 +++++ drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 20 ++++++++------ drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 9 ++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 ----- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 14 +++++++--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 ++- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 --- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 5 +--- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 5 +--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 --- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_2.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 2 +- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 3 ++- .../amd/pm/powerplay/smumgr/smu10_smumgr.c | 10 +++---- 28 files changed, 79 insertions(+), 74 deletions(-) base-commit: 6cc31d9a3e0944ca02dda6f53f9c9320b8bee928 -- 2.36.1.74.g277cf0bc36