kmssink: adjust memory offset calculation for dmabuf buffers
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 13 Mar 2017 14:06:53 +0000 (16:06 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 14 Mar 2017 15:07:41 +0000 (17:07 +0200)
commit4757ec88604835b5e3b6ce32ba6ddb5e6b6611b4
treec61697e07ee033a469c5624c391911287996e6cb
parent20d4aca0d44b83347c12c24e770a5b578afcfc20
kmssink: adjust memory offset calculation for dmabuf buffers

The data in the dmabuf fd may not start from byte 0, therefore
we need to inform DRM about this additional offset.

https://bugzilla.gnome.org/show_bug.cgi?id=779790
sys/kms/gstkmssink.c