commit | 58e366eb86e9d9e5ba4bc369daa04a8d8418d515 | [log] [tgz] |
---|---|---|
author | Steve Longerbeam <slongerbeam@gmail.com> | Tue Jul 19 18:11:08 2016 -0700 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Mon Aug 08 11:44:20 2016 +0200 |
tree | dbcb29fe257675acd245bd9a71dd6e6c4f7cb738 | |
parent | ea6bead7ebd99bab1fcc5728beb4c3a791886d77 [diff] |
gpu: ipu-v3: Fix IRT usage There can be multiple IC tasks using the IRT, so the IRT needs a separate use counter. Create a private ipu_irt_enable() to enable the IRT module when any IC task requires rotation, and ipu_irt_disable() when a task no longer needs the IRT. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>