[PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

Michel Dänzer michel at daenzer.net
Fri Dec 21 08:52:01 UTC 2018


On 2018-12-21 9:45 a.m., Deng, Emily wrote:
>> -----Original Message-----
>> From: Michel Dänzer <michel at daenzer.net>
>> Sent: Friday, December 21, 2018 4:38 PM
>> To: Deng, Emily <Emily.Deng at amd.com>
>> Cc: amd-gfx at lists.freedesktop.org
>> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo
>>
>> On 2018-12-21 8:26 a.m., Emily Deng wrote:
>>> When the bo is used to set mode, the bo need to be pinned.
>>
>> On second thought, why does the BO need to be pinned? When using the display
>> hardware, the BO needs to be pinned to prevent it from being moved while the
>> hardware is scanning out from it, but that shouldn't be necessary here.
> The pin here is used for scan out the buffer by remote display app.

I still don't understand why pinning is needed. What mechanism does the
remote display app use to access the BO contents?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list