[PATCH v4 1/1] drm/syncobj: add sideband payload

Koenig, Christian Christian.Koenig at amd.com
Fri Aug 9 12:27:20 UTC 2019


Am 09.08.19 um 14:26 schrieb Lionel Landwerlin:
> On 09/08/2019 14:44, Chris Wilson wrote:
>> Quoting Lionel Landwerlin (2019-08-09 12:30:30)
>>> diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
>>> index 8a5b2f8f8eb9..1ce83853f997 100644
>>> --- a/include/uapi/drm/drm.h
>>> +++ b/include/uapi/drm/drm.h
>>> @@ -785,6 +785,22 @@ struct drm_syncobj_timeline_array {
>>>          __u32 pad;
>>>   };
>>>   +struct drm_syncobj_binary_array {
>>> +       /* A pointer to an array of u32 syncobj handles. */
>>> +       __u64 handles;
>>> +       /* A pointer to an array of u32 access flags for each 
>>> handle. */
>>> +       __u64 access_flags;
>>> +       /* The binary value of a syncobj is read before it is 
>>> incremented. */
>>> +#define I915_DRM_SYNCOBJ_BINARY_ITEM_VALUE_READ (1u << 0)
>>> +#define I915_DRM_SYNCOBJ_BINARY_ITEM_VALUE_INC  (1u << 1)
>> You're not in Kansas anymore ;)
>> -Chris
>>
> Which means? :)

You are in common DRM code, but the new defines start with I915_....

Cheers,
Christian.

>
>
> -Lionel
>



More information about the dri-devel mailing list