summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio/virtgpu_vq.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2017-03-29 11:07:53 +0800
committerDave Airlie <airlied@redhat.com>2017-03-29 13:38:01 +1000
commit8bcad07a45637fb88e799466e4eee83859e8ffd3 (patch)
tree73fba2e780720337dc8df75119a7d29a80cf2d55 /drivers/gpu/drm/virtio/virtgpu_vq.c
parente5c1ff14757afe21733ddee9cc4bbaeaeadbf803 (diff)
downloadblackbird-op-linux-8bcad07a45637fb88e799466e4eee83859e8ffd3.tar.gz
blackbird-op-linux-8bcad07a45637fb88e799466e4eee83859e8ffd3.zip
drm/i915/gvt: fix error return check for copy_gma_to_hva()
From commit 73dec95e6ba3 ("drm/i915: Emit to ringbuffer directly"), copy_gma_to_hva() now returns copied data length instead of 0, so need to change error return check for that. Note: Looks this is caused by backmerge conflict resolving, so 4.11-rc4 is not impacted as commit 73dec95e6ba3 ("drm/i915: Emit to ringbuffer directly") is not in 4.11. But need to fix this before I can apply 4.12 stuff against drm-intel-next correctly. Fixes: e5c1ff14757a ("Backmerge tag 'v4.11-rc4' into drm-next") Cc: Dave Airlie <airlied@redhat.com> Cc: Tina Zhang <tina.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_vq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud