On 2018-07-13 09:00 AM, Christian König wrote:
> Hi,
> 
> no that is certainly not normal.
> 
> We temporary allow the kernel to allocate more pages than available when
> we bind stuff into the GART, but that shouldn't have this effect.

mgr->available can happen to be negative when amdgpu_gtt_mgr_debug is
called, can't it? I.e. we should clamp it to 0 there as well, same as in
amdgpu_gtt_mgr_usage (or maybe just use that for both values in
amdgpu_gtt_mgr_debug).


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to