[PATCH 0/5] amdgpu: Visible VRAM Management Improvements, next take

John Brooks john at fastquake.com
Fri Jul 7 22:50:13 UTC 2017


On Thu, Jul 06, 2017 at 07:51:25PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> This is a rearrangement of some patches of John's, with some improvements
> of mine, and a patch of mine, rebased on current amd-staging-4.11.
> Details about changes in the individual patches.
> 
> John Brooks (4):
>   drm/amdgpu: Add vis_vramlimit module parameter
>   drm/amdgpu: Throttle visible VRAM moves separately
>   drm/amdgpu: Set/clear CPU_ACCESS flag on page fault and move to VRAM
>   drm/amdgpu: Don't force BOs into visible VRAM for page faults
> 
> Michel Dänzer (1):
>   drm/amdgpu: Try evicting from CPU visible to invisible VRAM first
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h        |  7 ++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c     | 92 ++++++++++++++++++++++++------
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c    |  4 ++
>  drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 49 +++++++++-------
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c    | 45 +++++++++++++++
>  5 files changed, 157 insertions(+), 40 deletions(-)
> 
> -- 
> 2.13.2
> 

I tested these changes against drm-next-4.13. Looks good to me.

John


More information about the amd-gfx mailing list