Re: [PATCH] drm/amdgpu: Consolidate visible vs. real vram check.

2018-06-13 Thread Christian König
Am 12.06.2018 um 20:37 schrieb Andrey Grodzovsky: Move all instnaces of this check into a function in amdgpu_gmc.h Rename the original function to a more proper name. Signed-off-by: Andrey Grodzovsky There seems to be two more candidates for that cleanup:

[PATCH] drm/amdgpu: Consolidate visible vs. real vram check.

2018-06-12 Thread Andrey Grodzovsky
Move all instnaces of this check into a function in amdgpu_gmc.h Rename the original function to a more proper name. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 11 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 15 +++