Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ebcab64 authored by GG Hou's avatar GG Hou Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: make msm_drm.h uapi header safe for C++



fixes the C++ related compilation issues.

Change-Id: If6b4f379eb27f3de6153b8666f733c0b8245851f
Signed-off-by: default avatarGG Hou <renjhou@codeaurora.org>
parent 55100ee0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -215,7 +215,11 @@ struct drm_msm_gem_cpu_fini {
 */
struct drm_msm_gem_submit_reloc {
	__u32 submit_offset;  /* in, offset from submit_bo */
#ifdef __cplusplus
	__u32 or_val;
#else
	__u32 or;             /* in, value OR'd with result */
#endif
	__s32 shift;          /* in, amount of left shift (can be negative) */
	__u32 reloc_idx;      /* in, index of reloc_bo buffer */
	__u64 reloc_offset;   /* in, offset from start of reloc_bo */