gpu: ipu-v3: smfc: Convert to per-channel
authorSteve Longerbeam <slongerbeam@gmail.com>
Thu, 26 Jun 2014 01:05:34 +0000 (18:05 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Sep 2014 12:55:44 +0000 (14:55 +0200)
commit7fafa8f06f9bdf32b806b4612bfe387de8e34125
treeb201e57c619e16ff10cfa8183a76af617abe1173
parentfc4353559e587f5962f22c24ca7e015bdbea1e49
gpu: ipu-v3: smfc: Convert to per-channel

Convert the smfc object to be specific to a single smfc channel.
Add ipu_smfc_{get|put} to retrieve and release a single smfc channel
for exclusive use, and add use counter to ipu_smfc_{enable|disable}.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-smfc.c
include/video/imx-ipu-v3.h