From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
kernel/drivers/video/rockchip/rga3/include/rga_hw_config.h | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/kernel/drivers/video/rockchip/rga3/include/rga_hw_config.h b/kernel/drivers/video/rockchip/rga3/include/rga_hw_config.h
index 73f05f7..46f7531 100644
--- a/kernel/drivers/video/rockchip/rga3/include/rga_hw_config.h
+++ b/kernel/drivers/video/rockchip/rga3/include/rga_hw_config.h
@@ -16,20 +16,22 @@
RGA_IOMMU = 2,
};
+enum rga_hw_support_format_index {
+ RGA_RASTER_INDEX,
+ RGA_AFBC16x16_INDEX,
+ RGA_TILE8x8_INDEX,
+ RGA_FORMAT_INDEX_BUTT,
+};
+
struct rga_win_data {
const char *name;
- const uint32_t *raster_formats;
- const uint32_t *fbc_formats;
- const uint32_t *tile_formats;
- uint32_t num_of_raster_formats;
- uint32_t num_of_fbc_formats;
- uint32_t num_of_tile_formats;
+ const uint32_t *formats[RGA_FORMAT_INDEX_BUTT];
+ uint32_t formats_count[RGA_FORMAT_INDEX_BUTT];
- const unsigned int supported_rotations;
- const unsigned int scale_up_mode;
- const unsigned int scale_down_mode;
- const unsigned int rd_mode;
-
+ uint32_t supported_rotations;
+ uint32_t scale_up_mode;
+ uint32_t scale_down_mode;
+ uint32_t rd_mode;
};
struct rga_rect {
--
Gitblit v1.6.2