[PATCH weston 1/2] simple-dmabuf-drm: Fallback DRM_FORMAT_MOD_LINEAR definition

Pekka Paalanen ppaalanen at gmail.com
Wed Jun 6 07:51:44 UTC 2018


On Tue,  5 Jun 2018 23:06:58 +0100
Daniel Stone <daniels at collabora.com> wrote:

> Just in case we're running on something quite old.
> 
> Signed-off-by: Daniel Stone <daniels at collabora.com>
> ---
>  clients/simple-dmabuf-drm.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/clients/simple-dmabuf-drm.c b/clients/simple-dmabuf-drm.c
> index df96758c9..fcab30e5c 100644
> --- a/clients/simple-dmabuf-drm.c
> +++ b/clients/simple-dmabuf-drm.c
> @@ -62,6 +62,10 @@
>  #include "fullscreen-shell-unstable-v1-client-protocol.h"
>  #include "linux-dmabuf-unstable-v1-client-protocol.h"
>  
> +#ifndef DRM_FORMAT_MOD_LINEAR
> +#define DRM_FORMAT_MOD_LINEAR 0
> +#endif
> +
>  struct buffer;
>  
>  /* Possible options that affect the displayed image */

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180606/e7d39055/attachment.sig>


More information about the wayland-devel mailing list