Repository navigation
Commit 0a746db
committed
drm/ingenic: Use dmam_alloc_coherent()
Use dmam_alloc_coherent() instead of dma_alloc_coherent(). Then we don't
need to register a custom cleanup handler.
v3: New patch
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716163846.174790-8-paul@crapouillou.net1 parent 4b11cb7 commit 0a746db
1 file changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | 462 | | |
471 | 463 | | |
472 | 464 | | |
| |||
549 | 541 | | |
550 | 542 | | |
551 | 543 | | |
552 | | - | |
553 | | - | |
554 | | - | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
555 | 547 | | |
556 | 548 | | |
557 | 549 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | 550 | | |
563 | 551 | | |
564 | 552 | | |
| |||
0 commit comments