[PATCH 1/2] amdgpu: add new VA operations CLEAR and REPLACE

Zhang, Jerry (Junwei) Jerry.Zhang at amd.com
Wed Mar 22 03:04:25 UTC 2017


On 03/21/2017 09:30 PM, Nicolai Hähnle wrote:
> This should use the proper procedure for updating amdgpu_drm.h, as explained in
> include/drm/README. I can take care of this as soon as all the kernel patches
> for PRT are in a tree that doesn't rebase (i.e. agd5f/drm-next-4.12 or
> airlied/drm-next).

Thanks, got it.

Jerry
>
> Nicolai
>
> On 17.03.2017 06:59, Junwei Zhang wrote:
>> Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>
>> ---
>>  include/drm/amdgpu_drm.h | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
>> index 7002dc4..a73b40a 100644
>> --- a/include/drm/amdgpu_drm.h
>> +++ b/include/drm/amdgpu_drm.h
>> @@ -410,6 +410,8 @@ struct drm_amdgpu_gem_op {
>>
>>  #define AMDGPU_VA_OP_MAP            1
>>  #define AMDGPU_VA_OP_UNMAP            2
>> +#define AMDGPU_VA_OP_CLEAR            3
>> +#define AMDGPU_VA_OP_REPLACE            4
>>
>>  /* Delay the page table update till the next CS */
>>  #define AMDGPU_VM_DELAY_UPDATE        (1 << 0)
>>
>


More information about the amd-gfx mailing list