* [PATCH 1/2] update drm.h
@ 2019-05-22 9:07 Chunming Zhou
2019-05-22 9:08 ` [PATCH 2/2] enable syncobj test depending on capability Chunming Zhou
2019-05-22 10:46 ` [PATCH 1/2] update drm.h Koenig, Christian
0 siblings, 2 replies; 10+ messages in thread
From: Chunming Zhou @ 2019-05-22 9:07 UTC (permalink / raw)
To: Christian.Koenig, dri-devel, michel
a) delta: only DRM_CAP_SYNCOBJ_TIMELINE
b) Generated using make headers_install.
c) Generated from origin/drm-misc-next commit 982c0500fd1a8012c31d3c9dd8de285129904656"
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Suggested-by: Michel Dänzer <michel@daenzer.net>
---
include/drm/drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/drm.h b/include/drm/drm.h
index c893f3b4..438abde3 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -44,6 +44,7 @@ typedef unsigned int drm_handle_t;
#else /* One of the BSDs */
+#include <stdint.h>
#include <sys/ioccom.h>
#include <sys/types.h>
typedef int8_t __s8;
@@ -643,6 +644,7 @@ struct drm_gem_open {
#define DRM_CAP_PAGE_FLIP_TARGET 0x11
#define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12
#define DRM_CAP_SYNCOBJ 0x13
+#define DRM_CAP_SYNCOBJ_TIMELINE 0x14
/** DRM_IOCTL_GET_CAP ioctl argument type */
struct drm_get_cap {
--
2.17.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2] enable syncobj test depending on capability
2019-05-22 9:07 [PATCH 1/2] update drm.h Chunming Zhou
@ 2019-05-22 9:08 ` Chunming Zhou
2019-05-22 10:46 ` [PATCH 1/2] update drm.h Koenig, Christian
1 sibling, 0 replies; 10+ messages in thread
From: Chunming Zhou @ 2019-05-22 9:08 UTC (permalink / raw)
To: Christian.Koenig, dri-devel, michel
Feature is controlled by DRM_CAP_SYNCOBJ_TIMELINE drm capability.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
---
tests/amdgpu/syncobj_tests.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/amdgpu/syncobj_tests.c b/tests/amdgpu/syncobj_tests.c
index a0c627d7..869ed88e 100644
--- a/tests/amdgpu/syncobj_tests.c
+++ b/tests/amdgpu/syncobj_tests.c
@@ -22,6 +22,7 @@
*/
#include "CUnit/Basic.h"
+#include "xf86drm.h"
#include "amdgpu_test.h"
#include "amdgpu_drm.h"
@@ -36,6 +37,13 @@ static void amdgpu_syncobj_timeline_test(void);
CU_BOOL suite_syncobj_timeline_tests_enable(void)
{
+ int r;
+ uint64_t cap = 0;
+
+ r = drmGetCap(drm_amdgpu[0], DRM_CAP_SYNCOBJ_TIMELINE, &cap);
+ if (r || cap == 0)
+ return CU_FALSE;
+
return CU_TRUE;
}
--
2.17.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-05-22 9:07 [PATCH 1/2] update drm.h Chunming Zhou
2019-05-22 9:08 ` [PATCH 2/2] enable syncobj test depending on capability Chunming Zhou
@ 2019-05-22 10:46 ` Koenig, Christian
2019-05-24 5:15 ` zhoucm1
1 sibling, 1 reply; 10+ messages in thread
From: Koenig, Christian @ 2019-05-22 10:46 UTC (permalink / raw)
To: Zhou, David(ChunMing), dri-devel, michel
Am 22.05.19 um 11:07 schrieb Chunming Zhou:
> a) delta: only DRM_CAP_SYNCOBJ_TIMELINE
> b) Generated using make headers_install.
> c) Generated from origin/drm-misc-next commit 982c0500fd1a8012c31d3c9dd8de285129904656"
>
> Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
> Suggested-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> include/drm/drm.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/drm.h b/include/drm/drm.h
> index c893f3b4..438abde3 100644
> --- a/include/drm/drm.h
> +++ b/include/drm/drm.h
> @@ -44,6 +44,7 @@ typedef unsigned int drm_handle_t;
>
> #else /* One of the BSDs */
>
> +#include <stdint.h>
> #include <sys/ioccom.h>
> #include <sys/types.h>
> typedef int8_t __s8;
> @@ -643,6 +644,7 @@ struct drm_gem_open {
> #define DRM_CAP_PAGE_FLIP_TARGET 0x11
> #define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12
> #define DRM_CAP_SYNCOBJ 0x13
> +#define DRM_CAP_SYNCOBJ_TIMELINE 0x14
>
> /** DRM_IOCTL_GET_CAP ioctl argument type */
> struct drm_get_cap {
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-05-22 10:46 ` [PATCH 1/2] update drm.h Koenig, Christian
@ 2019-05-24 5:15 ` zhoucm1
2019-06-06 10:20 ` Michel Dänzer
0 siblings, 1 reply; 10+ messages in thread
From: zhoucm1 @ 2019-05-24 5:15 UTC (permalink / raw)
To: Koenig, Christian, Zhou, David(ChunMing), dri-devel, michel
anyone can pick up to gitlab for libdrm?
Thanks,
-David
On 2019年05月22日 18:46, Koenig, Christian wrote:
> Am 22.05.19 um 11:07 schrieb Chunming Zhou:
>> a) delta: only DRM_CAP_SYNCOBJ_TIMELINE
>> b) Generated using make headers_install.
>> c) Generated from origin/drm-misc-next commit 982c0500fd1a8012c31d3c9dd8de285129904656"
>>
>> Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
>> Suggested-by: Michel Dänzer <michel@daenzer.net>
> Reviewed-by: Christian König <christian.koenig@amd.com>
>
>> ---
>> include/drm/drm.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/include/drm/drm.h b/include/drm/drm.h
>> index c893f3b4..438abde3 100644
>> --- a/include/drm/drm.h
>> +++ b/include/drm/drm.h
>> @@ -44,6 +44,7 @@ typedef unsigned int drm_handle_t;
>>
>> #else /* One of the BSDs */
>>
>> +#include <stdint.h>
>> #include <sys/ioccom.h>
>> #include <sys/types.h>
>> typedef int8_t __s8;
>> @@ -643,6 +644,7 @@ struct drm_gem_open {
>> #define DRM_CAP_PAGE_FLIP_TARGET 0x11
>> #define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12
>> #define DRM_CAP_SYNCOBJ 0x13
>> +#define DRM_CAP_SYNCOBJ_TIMELINE 0x14
>>
>> /** DRM_IOCTL_GET_CAP ioctl argument type */
>> struct drm_get_cap {
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-05-24 5:15 ` zhoucm1
@ 2019-06-06 10:20 ` Michel Dänzer
2019-06-06 10:26 ` zhoucm1
0 siblings, 1 reply; 10+ messages in thread
From: Michel Dänzer @ 2019-06-06 10:20 UTC (permalink / raw)
To: zhoucm1, Koenig, Christian, Zhou, David(ChunMing); +Cc: dri-devel
On 2019-05-24 7:15 a.m., zhoucm1 wrote:
> anyone can pick up to gitlab for libdrm?
Can you create a merge request?
--
Earthling Michel Dänzer | https://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-06-06 10:20 ` Michel Dänzer
@ 2019-06-06 10:26 ` zhoucm1
2019-06-06 10:30 ` Koenig, Christian
2019-06-06 10:31 ` Michel Dänzer
0 siblings, 2 replies; 10+ messages in thread
From: zhoucm1 @ 2019-06-06 10:26 UTC (permalink / raw)
To: Michel Dänzer, Koenig, Christian, Zhou, David(ChunMing); +Cc: dri-devel
https://gitlab.freedesktop.org/mesa/drm, Where the merge request button?
-David
On 2019年06月06日 18:20, Michel Dänzer wrote:
> On 2019-05-24 7:15 a.m., zhoucm1 wrote:
>> anyone can pick up to gitlab for libdrm?
> Can you create a merge request?
>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-06-06 10:26 ` zhoucm1
@ 2019-06-06 10:30 ` Koenig, Christian
2019-06-06 10:31 ` Michel Dänzer
1 sibling, 0 replies; 10+ messages in thread
From: Koenig, Christian @ 2019-06-06 10:30 UTC (permalink / raw)
To: Zhou, David(ChunMing), Michel Dänzer; +Cc: dri-devel
Seconded, I'm always totally confused about the web interface as well.
Christian.
Am 06.06.19 um 12:26 schrieb zhoucm1:
> https://gitlab.freedesktop.org/mesa/drm, Where the merge request button?
>
> -David
>
>
> On 2019年06月06日 18:20, Michel Dänzer wrote:
>> On 2019-05-24 7:15 a.m., zhoucm1 wrote:
>>> anyone can pick up to gitlab for libdrm?
>> Can you create a merge request?
>>
>>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-06-06 10:26 ` zhoucm1
2019-06-06 10:30 ` Koenig, Christian
@ 2019-06-06 10:31 ` Michel Dänzer
2019-06-06 14:09 ` Michel Dänzer
1 sibling, 1 reply; 10+ messages in thread
From: Michel Dänzer @ 2019-06-06 10:31 UTC (permalink / raw)
To: zhoucm1, Koenig, Christian, Zhou, David(ChunMing); +Cc: dri-devel
On 2019-06-06 12:26 p.m., zhoucm1 wrote:
> https://gitlab.freedesktop.org/mesa/drm, Where the merge request button?
If you push to a branch in your personal repository, the output of git
push contains an URL for creating a merge request.
--
Earthling Michel Dänzer | https://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] update drm.h
2019-06-06 10:31 ` Michel Dänzer
@ 2019-06-06 14:09 ` Michel Dänzer
2019-06-06 14:13 ` Zhou, David(ChunMing)
0 siblings, 1 reply; 10+ messages in thread
From: Michel Dänzer @ 2019-06-06 14:09 UTC (permalink / raw)
To: zhoucm1, Koenig, Christian, Zhou, David(ChunMing); +Cc: dri-devel
On 2019-06-06 12:31 p.m., Michel Dänzer wrote:
> On 2019-06-06 12:26 p.m., zhoucm1 wrote:
>> https://gitlab.freedesktop.org/mesa/drm, Where the merge request button?
>
> If you push to a branch in your personal repository, the output of git
> push contains an URL for creating a merge request.
Daniel Vetter pointed out on IRC that currently merge requests aren't
enabled yet for libdrm, which probably explains why you couldn't find a
way to create one. Sorry, I didn't realize this.
Meanwhile, can you just push to a branch in your personal repo, and make
sure the CI pipeline passes?
--
Earthling Michel Dänzer | https://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH 1/2] update drm.h
2019-06-06 14:09 ` Michel Dänzer
@ 2019-06-06 14:13 ` Zhou, David(ChunMing)
0 siblings, 0 replies; 10+ messages in thread
From: Zhou, David(ChunMing) @ 2019-06-06 14:13 UTC (permalink / raw)
To: Michel Dänzer, Koenig, Christian; +Cc: dri-devel
> -----Original Message-----
> From: Michel Dänzer <michel@daenzer.net>
> Sent: Thursday, June 06, 2019 10:09 PM
> To: Zhou, David(ChunMing) <David1.Zhou@amd.com>; Koenig, Christian
> <Christian.Koenig@amd.com>; Zhou, David(ChunMing)
> <David1.Zhou@amd.com>
> Cc: dri-devel@lists.freedesktop.org
> Subject: Re: [PATCH 1/2] update drm.h
>
> On 2019-06-06 12:31 p.m., Michel Dänzer wrote:
> > On 2019-06-06 12:26 p.m., zhoucm1 wrote:
> >> https://gitlab.freedesktop.org/mesa/drm, Where the merge request
> button?
> >
> > If you push to a branch in your personal repository, the output of git
> > push contains an URL for creating a merge request.
>
> Daniel Vetter pointed out on IRC that currently merge requests aren't
> enabled yet for libdrm, which probably explains why you couldn't find a way
> to create one. Sorry, I didn't realize this.
>
> Meanwhile, can you just push to a branch in your personal repo, and make
> sure the CI pipeline passes?
Sorry, which personal repo? My problem to connect to gitlab.freedesktop isn't solved yet by our IT, I'm pushing them, but no response yet.
-David
>
>
> --
> Earthling Michel Dänzer | https://www.amd.com
> Libre software enthusiast | Mesa and X developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-06-06 14:14 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 9:07 [PATCH 1/2] update drm.h Chunming Zhou
2019-05-22 9:08 ` [PATCH 2/2] enable syncobj test depending on capability Chunming Zhou
2019-05-22 10:46 ` [PATCH 1/2] update drm.h Koenig, Christian
2019-05-24 5:15 ` zhoucm1
2019-06-06 10:20 ` Michel Dänzer
2019-06-06 10:26 ` zhoucm1
2019-06-06 10:30 ` Koenig, Christian
2019-06-06 10:31 ` Michel Dänzer
2019-06-06 14:09 ` Michel Dänzer
2019-06-06 14:13 ` Zhou, David(ChunMing)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.