فهرست منبع

disp: rotator: Add msm_rtb.h header for no_log support

rtb driver is moved to tracepoint method as of 5.10, and there is no proper
support for no_log variants of read/write operations. Add dummy no_log apis
to msm_rtb.h file as temporary solution, and include msm_rtb.h in rotator
for no_log support.

Change-Id: I3f833fdfb741039a30a7d23aee2b20b9f62e14e1
Signed-off-by: orion brody <[email protected]>
orion brody 4 سال پیش
والد
کامیت
a076fe6f5c
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      rotator/sde_rotator_r3.c

+ 2 - 1
rotator/sde_rotator_r3.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
  */
 
 #define pr_fmt(fmt)	"%s:%d: " fmt, __func__, __LINE__
@@ -16,6 +16,7 @@
 #include <linux/dma-buf.h>
 #include <linux/clk.h>
 #include <linux/clk/qcom.h>
+#include <linux/msm_rtb.h>
 
 #include "sde_rotator_core.h"
 #include "sde_rotator_util.h"