RE: [PATCH 5.4 24/78] drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu

From: Deucher, Alexander
Date: Tue Jan 14 2020 - 09:31:31 EST


[AMD Public Use]

> -----Original Message-----
> From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, January 14, 2020 5:01 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>;
> stable@xxxxxxxxxxxxxxx; Zhou, David(ChunMing) <David1.Zhou@xxxxxxx>;
> Cui, Flora <Flora.Cui@xxxxxxx>; Koenig, Christian
> <Christian.Koenig@xxxxxxx>; Deucher, Alexander
> <Alexander.Deucher@xxxxxxx>
> Subject: [PATCH 5.4 24/78] drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to
> amdgpu
>
> From: Chunming Zhou <david1.zhou@xxxxxxx>
>
> commit db4ff423cd1659580e541a2d4363342f15c14230 upstream.
>
> Can expose it now that the khronos has exposed the vlk extension.
>
> Signed-off-by: Chunming Zhou <david1.zhou@xxxxxxx>
> Reviewed-by: Flora Cui <Flora.Cui@xxxxxxx>
> Reviewed-by: Christian KÃnig <christian.koenig@xxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>

This can be dropped for 5.4. According to ChunMing, there is missing functionality in 5.4 so it's not required.

Thanks,

Alex

> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -1422,7 +1422,8 @@ static struct drm_driver kms_driver = {
> .driver_features =
> DRIVER_USE_AGP | DRIVER_ATOMIC |
> DRIVER_GEM |
> - DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ,
> + DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ |
> + DRIVER_SYNCOBJ_TIMELINE,
> .load = amdgpu_driver_load_kms,
> .open = amdgpu_driver_open_kms,
> .postclose = amdgpu_driver_postclose_kms,
>