drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu

Submitted by Chunming Zhou on May 28, 2019, 2:52 a.m.

Details

Message ID 20190528025203.11593-1-david1.zhou@amd.com
State Accepted
Commit 8d8a5a64a8904ea32bbf7292b89c11156d64f9a1
Headers show
Series "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Chunming Zhou May 28, 2019, 2:52 a.m.
Change-Id: I2b1af1478fbddbb5084b90b3ff85c2eb964bd217
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 78706dfa753a..1f38d6fc1fe3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1307,7 +1307,8 @@  static struct drm_driver kms_driver = {
 	.driver_features =
 	    DRIVER_USE_AGP | DRIVER_ATOMIC |
 	    DRIVER_GEM |
-	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ,
+	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ |
+	    DRIVER_SYNCOBJ_TIMELINE,
 	.load = amdgpu_driver_load_kms,
 	.open = amdgpu_driver_open_kms,
 	.postclose = amdgpu_driver_postclose_kms,

Comments

the patch is Reviewed-by: Flora Cui <Flora.Cui@amd.com>

在 5/28/2019 10:52 AM, Chunming Zhou 写道:
> Change-Id: I2b1af1478fbddbb5084b90b3ff85c2eb964bd217

> Signed-off-by: Chunming Zhou <david1.zhou@amd.com>

> ---

>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-

>   1 file changed, 2 insertions(+), 1 deletion(-)

>

> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

> index 78706dfa753a..1f38d6fc1fe3 100644

> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

> @@ -1307,7 +1307,8 @@ static struct drm_driver kms_driver = {

>   	.driver_features =

>   	    DRIVER_USE_AGP | DRIVER_ATOMIC |

>   	    DRIVER_GEM |

> -	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ,

> +	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ |

> +	    DRIVER_SYNCOBJ_TIMELINE,

>   	.load = amdgpu_driver_load_kms,

>   	.open = amdgpu_driver_open_kms,

>   	.postclose = amdgpu_driver_postclose_kms,
Reviewed-by: Christian König <christian.koenig@amd.com>

Am 28.05.19 um 05:05 schrieb Cui, Flora:
> the patch is Reviewed-by: Flora Cui <Flora.Cui@amd.com>
>
> 在 5/28/2019 10:52 AM, Chunming Zhou 写道:
>> Change-Id: I2b1af1478fbddbb5084b90b3ff85c2eb964bd217
>> Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
>> ---
>>    drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
>>    1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>> index 78706dfa753a..1f38d6fc1fe3 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
>> @@ -1307,7 +1307,8 @@ static struct drm_driver kms_driver = {
>>    	.driver_features =
>>    	    DRIVER_USE_AGP | DRIVER_ATOMIC |
>>    	    DRIVER_GEM |
>> -	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ,
>> +	    DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ |
>> +	    DRIVER_SYNCOBJ_TIMELINE,
>>    	.load = amdgpu_driver_load_kms,
>>    	.open = amdgpu_driver_open_kms,
>>    	.postclose = amdgpu_driver_postclose_kms,
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx