Skip to content

Commit 08bca69

Browse files
popcornmixpelwell
authored andcommitted
vc-sm-cma: Restore correct cache maintainance operations
We have been using the more expensive flush operations rather than invalidate and clean since kernel rpi-5.9.y These are exposed with: 52f1453 Re-expose some dmi APIs for use in VCSM But I believe that commit was dropped when (non-cma) vc-sm was dropped, and didn't get updated when the commit was restored Signed-off-by: Dom Cobley <[email protected]>
1 parent 2d1db10 commit 08bca69

File tree

1 file changed

+2
-0
lines changed
  • drivers/staging/vc04_services/vc-sm-cma

1 file changed

+2
-0
lines changed

drivers/staging/vc04_services/vc-sm-cma/vc_sm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,9 @@ static void (*cache_op_to_func(const unsigned int cache_op))
12471247
return NULL;
12481248

12491249
case VC_SM_CACHE_OP_INV:
1250+
return dmac_inv_range;
12501251
case VC_SM_CACHE_OP_CLEAN:
1252+
return dmac_clean_range;
12511253
case VC_SM_CACHE_OP_FLUSH:
12521254
return dmac_flush_range;
12531255

0 commit comments

Comments
 (0)