-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cma: Add vc_cma driver to enable use of CMA
Signed-off-by: popcornmix <[email protected]>
- Loading branch information
1 parent
79c6ee6
commit 580927b
Showing
8 changed files
with
1,208 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Broadcom char driver config | ||
# | ||
|
||
menuconfig BRCM_CHAR_DRIVERS | ||
bool "Broadcom Char Drivers" | ||
help | ||
Broadcom's char drivers | ||
|
||
config BCM_VC_CMA | ||
bool "Videocore CMA" | ||
depends on CMA && BRCM_CHAR_DRIVERS && BCM2708_VCHIQ | ||
default n | ||
help | ||
Helper for videocore CMA access. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_BCM_VC_CMA) += vc_cma/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ccflags-y += -Wall -Wstrict-prototypes -Wno-trigraphs | ||
ccflags-y += -Werror | ||
ccflags-y += -Iinclude/linux/broadcom | ||
ccflags-y += -Idrivers/misc/vc04_services | ||
ccflags-y += -Idrivers/misc/vc04_services/interface/vchi | ||
ccflags-y += -Idrivers/misc/vc04_services/interface/vchiq_arm | ||
|
||
ccflags-y += -D__KERNEL__ | ||
ccflags-y += -D__linux__ | ||
ccflags-y += -Werror | ||
|
||
obj-$(CONFIG_BCM_VC_CMA) += vc-cma.o | ||
|
||
vc-cma-objs := vc_cma.o |
Oops, something went wrong.