[PATCH] drm/amd/amdgpu: set gtt size according to system memory size only
Michel Dänzer
michel at daenzer.net
Mon Dec 11 11:29:08 UTC 2017
On 2017-12-11 03:49 AM, He, Roger wrote:
>> From: Michel Dänzer [mailto:michel at daenzer.net] On 2017-12-07 07:07
>> PM, Christian König wrote:
>>>
>>> I think I know what is going on here. The max-texture-size keeps
>>> increasing the texture size as long as it doesn't fails to
>>> allocate one.
>>>
>>> So the "Out of kernel memory" message is actually the desired
>>> effect (but we should probably remove the message).
>>>
>>> The price question is what happens after that? Those code paths
>>> are probably not very well tested.
>>
>> I'm attaching all the related dmesg output I've captured.
>> Basically, best case is the OOM reaper killing piglit, worst case
>> is no response to SSH => hard reboot.
BTW, even when the machine stays responsive via SSH, the GPU hangs.
>> Until this becomes more robust, this change should probably be
>> reverted.
>
> I have not got any valuable info from error log. Please revert it now
> as quick solution, later let me check the reason.
I'm busy with other stuff, can you revert it?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list