Commit ee6a1d7c authored by Hirokazu Honda's avatar Hirokazu Honda Committed by chrome-bot
Browse files

CHROMIUM: drm/virtio: Support mmap with non zero offset



mmap() with non zero offset fails on Chromium OS VM because
ttm_fbdev_mmap() returns -EACCESS if the offset is not zero. To aoivd this
issue, offset is set to 0 and updated after ttm_fbdev_mmap().

BUG=chromium:911370, chromium:923061,
TEST=video.WebRTCCamera on VM

Change-Id: I1da60c6e0418505ae31770820cac868b1faf906f
Signed-off-by: default avatarHirokazu Honda <hiroh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1429921


Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
parent 20ee4b09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment