@@ -30,7 +30,7 @@/* Please note that modifications to all structs defined here are*subjecttobackwards-compatibilityconstraints.*-*Donotusepointers,useuint64_tinsteadfor32bit/64bituser/kernel+*Donotusepointers,use__u64insteadfor32bit/64bituser/kernel*compatibilityKeepfieldsalignedtotheirsize*/
@@ -45,88 +45,88 @@#define DRM_VIRTGPU_GET_CAPS 0x09structdrm_virtgpu_map{-uint64_toffset;/* use for mmap system call */-uint32_thandle;-uint32_tpad;+__u64offset;/* use for mmap system call */+__u32handle;+__u32pad;};structdrm_virtgpu_execbuffer{-uint32_tflags;/* for future use */-uint32_tsize;-uint64_tcommand;/* void* */-uint64_tbo_handles;-uint32_tnum_bo_handles;-uint32_tpad;+__u32flags;/* for future use */+__u32size;+__u64command;/* void* */+__u64bo_handles;+__u32num_bo_handles;+__u32pad;};#define VIRTGPU_PARAM_3D_FEATURES 1 /* do we have 3D features in the hw */structdrm_virtgpu_getparam{-uint64_tparam;-uint64_tvalue;+__u64param;+__u64value;};/* NO_BO flags? NO resource flag? *//* resource flag for y_0_top */structdrm_virtgpu_resource_create{-uint32_ttarget;-uint32_tformat;-uint32_tbind;-uint32_twidth;-uint32_theight;-uint32_tdepth;-uint32_tarray_size;-uint32_tlast_level;-uint32_tnr_samples;-uint32_tflags;-uint32_tbo_handle;/* if this is set - recreate a new resource attached to this bo ? */-uint32_tres_handle;/* returned by kernel */-uint32_tsize;/* validate transfer in the host */-uint32_tstride;/* validate transfer in the host */+__u32target;+__u32format;+__u32bind;+__u32width;+__u32height;+__u32depth;+__u32array_size;+__u32last_level;+__u32nr_samples;+__u32flags;+__u32bo_handle;/* if this is set - recreate a new resource attached to this bo ? */+__u32res_handle;/* returned by kernel */+__u32size;/* validate transfer in the host */+__u32stride;/* validate transfer in the host */};structdrm_virtgpu_resource_info{-uint32_tbo_handle;-uint32_tres_handle;-uint32_tsize;-uint32_tstride;+__u32bo_handle;+__u32res_handle;+__u32size;+__u32stride;};structdrm_virtgpu_3d_box{-uint32_tx;-uint32_ty;-uint32_tz;-uint32_tw;-uint32_th;-uint32_td;+__u32x;+__u32y;+__u32z;+__u32w;+__u32h;+__u32d;};structdrm_virtgpu_3d_transfer_to_host{-uint32_tbo_handle;+__u32bo_handle;structdrm_virtgpu_3d_boxbox;-uint32_tlevel;-uint32_toffset;+__u32level;+__u32offset;};structdrm_virtgpu_3d_transfer_from_host{-uint32_tbo_handle;+__u32bo_handle;structdrm_virtgpu_3d_boxbox;-uint32_tlevel;-uint32_toffset;+__u32level;+__u32offset;};#define VIRTGPU_WAIT_NOWAIT 1 /* like it */structdrm_virtgpu_3d_wait{-uint32_thandle;/* 0 is an invalid handle */-uint32_tflags;+__u32handle;/* 0 is an invalid handle */+__u32flags;};structdrm_virtgpu_get_caps{-uint32_tcap_set_id;-uint32_tcap_set_ver;-uint64_taddr;-uint32_tsize;-uint32_tpad;+__u32cap_set_id;+__u32cap_set_ver;+__u64addr;+__u32size;+__u32pad;};#define DRM_IOCTL_VIRTGPU_MAP \
--
2.6.2
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
From: Emil Velikov <hidden> Date: 2015-12-04 14:22:40
On 30 November 2015 at 14:10, Gabriel Laskar [off-list ref] wrote:
Signed-off-by: Gabriel Laskar <redacted>
CC: Emil Velikov <redacted>
CC: Mikko Rapeli <redacted>
---
include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 49 deletions(-)
For the series
Reviewed-by: Emil Velikov <redacted>
Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?
Thanks
Emil
From: Dave Airlie <airlied@gmail.com> Date: 2015-12-05 21:03:55
On 5 December 2015 at 00:22, Emil Velikov [off-list ref] wrote:
On 30 November 2015 at 14:10, Gabriel Laskar [off-list ref] wrote:
quoted
Signed-off-by: Gabriel Laskar <redacted>
CC: Emil Velikov <redacted>
CC: Mikko Rapeli <redacted>
---
include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 49 deletions(-)
For the series
Reviewed-by: Emil Velikov <redacted>
Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?
Yeah a git pull for these would be good, it's about all I can do to
care about them.
Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
From: Emil Velikov <hidden> Date: 2015-12-07 13:29:43
On 5 December 2015 at 21:03, Dave Airlie [off-list ref] wrote:
On 5 December 2015 at 00:22, Emil Velikov [off-list ref] wrote:
quoted
On 30 November 2015 at 14:10, Gabriel Laskar [off-list ref] wrote:
quoted
Signed-off-by: Gabriel Laskar <redacted>
CC: Emil Velikov <redacted>
CC: Mikko Rapeli <redacted>
---
include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 49 deletions(-)
For the series
Reviewed-by: Emil Velikov <redacted>
Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?
Yeah a git pull for these would be good, it's about all I can do to
care about them.
From your earlier reply I got the impression that you'll pick Mikko's
work. Either way, glad to see some progress on the topic.
Mikko, Gabriel,
Will you guys be so kind to send pull requests or shall I ?
Thanks
Emil
From: Mikko Rapeli <hidden> Date: 2015-12-07 13:46:05
On Mon, Dec 07, 2015 at 01:29:41PM +0000, Emil Velikov wrote:
On 5 December 2015 at 21:03, Dave Airlie [off-list ref] wrote:
quoted
On 5 December 2015 at 00:22, Emil Velikov [off-list ref] wrote:
quoted
On 30 November 2015 at 14:10, Gabriel Laskar [off-list ref] wrote:
quoted
Signed-off-by: Gabriel Laskar <redacted>
CC: Emil Velikov <redacted>
CC: Mikko Rapeli <redacted>
---
include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 49 deletions(-)
For the series
Reviewed-by: Emil Velikov <redacted>
Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?
Yeah a git pull for these would be good, it's about all I can do to
care about them.
From your earlier reply I got the impression that you'll pick Mikko's
work. Either way, glad to see some progress on the topic.
Mikko, Gabriel,
Will you guys be so kind to send pull requests or shall I ?
Go a head and send one. I guess you are talking about the drm specific
patches.
I tested Gabriel's changes too and found one more userspace compilation
problem from the now exported AMD header.
You can pick my patches from emails or latest draft is at
https://github.com/mcfrisk/linux/tree/headers_test_v05
I'm following Linus'es tree and dropping changes which get merged from my
development branch.
-Mikko
From: Gabriel Laskar <hidden> Date: 2015-12-09 13:56:11
On Mon, 7 Dec 2015 13:29:41 +0000
Emil Velikov [off-list ref] wrote:
On 5 December 2015 at 21:03, Dave Airlie [off-list ref] wrote:
quoted
On 5 December 2015 at 00:22, Emil Velikov [off-list ref] wrote:
quoted
On 30 November 2015 at 14:10, Gabriel Laskar [off-list ref] wrote:
quoted
Signed-off-by: Gabriel Laskar <redacted>
CC: Emil Velikov <redacted>
CC: Mikko Rapeli <redacted>
---
include/uapi/drm/virtgpu_drm.h | 98 +++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 49 deletions(-)
For the series
Reviewed-by: Emil Velikov <redacted>
Dave would you have any comments wrt this and the remainder of Mikko's
series ? Alternatively what can we do to get those merged (would you
like a branch/pull request) ?
Yeah a git pull for these would be good, it's about all I can do to
care about them.
From your earlier reply I got the impression that you'll pick Mikko's
work. Either way, glad to see some progress on the topic.
Mikko, Gabriel,
Will you guys be so kind to send pull requests or shall I ?
I can send a pull request with the changes from mikko and mine.
--
Gabriel Laskar
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel