Procházet zdrojové kódy

video: driver: add video vsp subcache id support

In order to improve video hardware performance, a new BLE is added
in system cache to get additional bandwidth.
To enable new system cache, video sw driver reads device tree entry
and enables it in Video FW.

Change-Id: I20025a8095c9981f8533062bdee9a6952df231a3
Signed-off-by: Mark Bao <[email protected]>
Signed-off-by: Mahesh Kumar Sharma <[email protected]>
Mahesh Kumar Sharma před 3 roky
rodič
revize
e0da5a7e44
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      driver/vidc/src/venus_hfi.c

+ 2 - 0
driver/vidc/src/venus_hfi.c

@@ -1741,6 +1741,8 @@ static int __init_subcaches(struct msm_vidc_core *core)
 			sinfo->subcache = llcc_slice_getd(LLCC_VIDSC1);
 		} else if (!strcmp("vidscfw", sinfo->name)) {
 			sinfo->subcache = llcc_slice_getd(LLCC_VIDFW);
+		} else if (!strcmp("vidvsp", sinfo->name)) {
+			sinfo->subcache = llcc_slice_getd(LLCC_VIDVSP);
 		} else {
 			d_vpr_e("Invalid subcache name %s\n",
 					sinfo->name);