summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/ti-vpe/Makefile
diff options
context:
space:
mode:
authorArchit Taneja2013-12-12 09:36:01 +0100
committerMauro Carvalho Chehab2014-01-07 09:56:18 +0100
commit6948082d1c9d5cdebc00b317b3b290292c635d53 (patch)
tree18038ea97164b059a94bd78eb8af73a9d52524a7 /drivers/media/platform/ti-vpe/Makefile
parent[media] v4l: ti-vpe: enable basic scaler support (diff)
downloadkernel-qcow2-linux-6948082d1c9d5cdebc00b317b3b290292c635d53.tar.gz
kernel-qcow2-linux-6948082d1c9d5cdebc00b317b3b290292c635d53.tar.xz
kernel-qcow2-linux-6948082d1c9d5cdebc00b317b3b290292c635d53.zip
[media] v4l: ti-vpe: create a color space converter block library
VPE and VIP IPs in DAR7x contain a color space converter(CSC) sub block. Create a library which will perform CSC related configurations and hold CSC register definitions. The functions provided by this library will be called by the vpe and vip drivers using a csc_data handle. The vpe_dev holds the csc_data handle. The handle represents an instance of the CSC hardware, and the vpe driver uses it to access the CSC register offsets or helper functions to configure these registers. The CSC register offsets are now relative to the CSC block itself, so we need to use the macro GET_OFFSET_TOP to get the CSC register offset relative to the VPE IP in the vpe driver. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe/Makefile')
-rw-r--r--drivers/media/platform/ti-vpe/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/ti-vpe/Makefile b/drivers/media/platform/ti-vpe/Makefile
index 54c30b31c4cb..be680f839e77 100644
--- a/drivers/media/platform/ti-vpe/Makefile
+++ b/drivers/media/platform/ti-vpe/Makefile
@@ -1,5 +1,5 @@
obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe.o
-ti-vpe-y := vpe.o sc.o vpdma.o
+ti-vpe-y := vpe.o sc.o csc.o vpdma.o
ccflags-$(CONFIG_VIDEO_TI_VPE_DEBUG) += -DDEBUG