[PATCH 1/5] drm/amdgpu: add AMDGPU_GEM_CREATE_VRAM_LINEAR flag v2

Christian König deathsimple at vodafone.de
Tue Aug 30 07:44:05 UTC 2016


Am 30.08.2016 um 03:49 schrieb Flora Cui:
> On Tue, Aug 30, 2016 at 09:57:56AM +0900, Michel Dänzer wrote:
>> On 29/08/16 10:47 PM, Deucher, Alexander wrote:
>>>> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
>>>> Of Christian König
>>>> Sent: Monday, August 29, 2016 5:20 AM
>>> I still think this should be renamed AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS
>>> or the anti-flag AMDGPU_GEM_CREATE_VRAM_SCATTER_GATHER to avoid
>>> confusion with linear in the tiling sense.
>> Seconded.
>>
> and this could be the default option unless
> AMDGPU_GEM_CREATE_VRAM_SCATTER_GATHER is specified.

Yeah, but then we won't correctly use it with existing userspace.

I will just rename it to AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS.

Christian.

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




More information about the amd-gfx mailing list