mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
video: rockchip: rga3: Update version to 1.1.4
change to load rga3 first Signed-off-by: Li Huang <putin.li@rock-chips.com> Change-Id: I642ba342632dcef30a85fe438ff1f7e04c1343df
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
/* Driver information */
|
||||
#define DRIVER_DESC "RGA multicore Device Driver"
|
||||
#define DRIVER_NAME "rga_multicore"
|
||||
#define DRIVER_VERSION "1.1.3"
|
||||
#define DRIVER_VERSION "1.1.4"
|
||||
#define RGA3_VERSION "2.000"
|
||||
|
||||
/* time limit */
|
||||
|
||||
@@ -705,12 +705,6 @@ static int __init rga_init(void)
|
||||
|
||||
wake_lock_init(&rga_drvdata->wake_lock, WAKE_LOCK_SUSPEND, "rga");
|
||||
|
||||
ret = platform_driver_register(&rga2_driver);
|
||||
if (ret != 0) {
|
||||
pr_err("Platform device rga2_driver register failed (%d).\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = platform_driver_register(&rga3_core0_driver);
|
||||
if (ret != 0) {
|
||||
pr_err("Platform device rga3_core0_driver register failed (%d).\n", ret);
|
||||
@@ -723,6 +717,12 @@ static int __init rga_init(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = platform_driver_register(&rga2_driver);
|
||||
if (ret != 0) {
|
||||
pr_err("Platform device rga2_driver register failed (%d).\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
rga_drvdata->fence_ctx = rga_fence_context_alloc();
|
||||
if (IS_ERR(rga_drvdata->fence_ctx)) {
|
||||
pr_err("failed to allocate fence context for RGA\n");
|
||||
|
||||
Reference in New Issue
Block a user