GTT memory usage overflow
Michel Dänzer
michel at daenzer.net
Fri Jul 13 07:40:14 UTC 2018
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
More information about the amd-gfx
mailing list