mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 11:13:02 +09:00
PD#SWPL-17246 Problem: sync the code from mainline. Solution: sync the code from mainline. 7c03859983c2 OSS vulnerability found in [boot.img]:[linux_kernel] (CVE-2018-12232) Risk:[] [1/1] ba89a3d9c791 OSS vulnerability found in [boot.img]:[linux_kernel] (CVE-2019-8912) Risk:[] [1/1] c434d0530610 Android Security Bulletin - November 2019-11 - Kernel components binder driver - CVE-2019-2214 [1/1] ff8d9012fbd4 Android Security Bulletin - November 2019-11 - Kernel components ext4 filesystem - CVE-2019-11833 [1/1] 3c52e964495e cec: store msg after bootup from st [1/2] 94198a56ee10 lcd: support tcon vac and demura data [2/2] 1add1a008a03 vout: spi: porting lcd driver and SPI to Linux [1/1] 3e8d7b0e5f97 hdmirx: add hpd recovery logic when input clk is unstable [1/1] f92e7ba21c62 ppmgr: Add 10bit, dolby and HDR video rotation. [1/1] dab2cc37cd95 dvb: fix dmx2 interrupt bug [1/1] 9d31efae4a55 dv: add dv target output mode [1/1] e86eb9d1b5c5 hdmirx: add rx phy tdr enable control [1/1] 8ea66f645bf6 dts: enable spi for gva [1/1] baf6e74528ef drm: add drm support for tm2 [1/1] Verify: verify by newton Change-Id: I9415060a4b39895b5d624117271a72fc6a1fd187 Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
/*
|
|
* include/uapi/drm/meson_drm.h
|
|
*
|
|
* Copyright (C) 2016 Amlogic, Inc. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#ifndef _MESON_DRM_H
|
|
#define _MESON_DRM_H
|
|
|
|
#include <drm/drm.h>
|
|
|
|
/* Use flags */
|
|
#define MESON_USE_NONE 0
|
|
#define MESON_USE_SCANOUT (1ull << 0)
|
|
#define MESON_USE_CURSOR (1ull << 1)
|
|
#define MESON_USE_RENDERING (1ull << 2)
|
|
#define MESON_USE_LINEAR (1ull << 3)
|
|
#define MESON_USE_PROTECTED (1ull << 11)
|
|
#define MESON_USE_HW_VIDEO_ENCODER (1ull << 12)
|
|
#define MESON_USE_CAMERA_WRITE (1ull << 13)
|
|
#define MESON_USE_CAMERA_READ (1ull << 14)
|
|
#define MESON_USE_TEXTURE (1ull << 17)
|
|
|
|
|
|
/**
|
|
* User-desired buffer creation information structure.
|
|
*
|
|
* @size: user-desired memory allocation size.
|
|
* @flags: user request for setting memory type or cache attributes.
|
|
* @handle: returned a handle to created gem object.
|
|
* - this handle will be set by gem module of kernel side.
|
|
*/
|
|
struct drm_meson_gem_create {
|
|
__u64 size;
|
|
__u32 flags;
|
|
__u32 handle;
|
|
};
|
|
|
|
#define DRM_MESON_GEM_CREATE 0x00
|
|
|
|
#define DRM_IOCTL_MESON_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \
|
|
DRM_MESON_GEM_CREATE, struct drm_meson_gem_create)
|
|
|
|
#endif /* _MESON_DRM_H */
|