summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_screen.h
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2017-05-12 17:05:53 -0500
committerEmil Velikov <[email protected]>2017-05-19 19:02:32 +0100
commit5771ecc90ee7625564c1d3cea1a4fc382b0f58b5 (patch)
tree48772e71109bec0b6962b53c7d9018312bdee7d5 /src/gallium/drivers/virgl/virgl_screen.h
parente19ea928b9ba3181d3416a8f388ee8276238dd76 (diff)
virgl: fix virgl_bo_transfer_{put, get} box struct copy
Commit 3dfe61ed6ec6 ("gallium: decrease the size of pipe_box - 24 -> 16 bytes") changed the size of pipe_box, but the virgl code was relying on pipe_box and drm_virtgpu_3d_box structs having the same size/layout doing a struct copy. Copy the fields one by one instead. Cc: Marek Olšák <[email protected]> Cc: Dave Airlie <[email protected]> Fixes: 3dfe61ed6ec ("gallium: decrease the size of pipe_box - 24 -> 16 bytes") Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.h')
0 files changed, 0 insertions, 0 deletions