答复: 答复: [PATCH] drm/amdgpu:fix amdgpu_sa_bo_new error
Monk.Liu at amd.com
Wed Feb 8 15:53:32 UTC 2017
agreed, why not just use cpu to clear it ? is it because performance ?
发件人: Michel Dänzer <michel at daenzer.net>
发送时间: 2017年2月8日 23:52:02
收件人: Christian König; Liu, Monk
抄送: amd-gfx at lists.freedesktop.org
主题: Re: 答复: [PATCH] drm/amdgpu:fix amdgpu_sa_bo_new error
On 09/02/17 12:30 AM, Christian König wrote:
> The IB test make the decision if the hardware is working or not.
> So they should be the first commands (except for the ring tests) we send
> to the hardware.
> When we allocate the fb before the test we send the clear command to the
> hardware without knowing if the hardware really works or not.
> Not a big issue, but I think the order makes more sense that way.
I just wonder if it's worth all the trouble, just to clear the fbcon
buffer, if the result is that the console output is delayed, possibly
 We don't have any other hardware acceleration for fbcon, so its BO
is only accessed by the CPU and display hardware after this, and has to
be pinned in the CPU visible area of VRAM at all times anyway.
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the amd-gfx