commit | f853f3daac748daa339bc8b64ba39db82160524a | [log] [tgz] |
---|---|---|
author | Steve Longerbeam <steve_longerbeam@mentor.com> | Mon Aug 26 11:42:09 2013 -0700 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Tue Jan 06 17:36:14 2015 +0100 |
tree | 558b955d3db3d9eb89c64223080f54234012759f | |
parent | 6457b9716bca99b95a07e85ff8b00f9bf471ac2c [diff] |
gpu: ipu-v3: Implement use counter for ipu_dc_enable(), ipu_dc_disable() The functions ipu_dc_enable() and ipu_dc_disable() enable/disable the DC globally in the IPU_CONF register, but the DC is used by multiple clients on different DC channels. So make sure to only disable/enable the DC globally based on a use counter. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>