diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2014-06-25 18:05:37 -0700 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2014-09-02 14:55:46 +0200 |
commit | f835f386a119c3f78f5acb93e86a4f025211739a (patch) | |
tree | 25b664ab16429566cf5367a3c0de209157fabef9 /firmware/bnx2x | |
parent | ae0e9708b30b3eebe5a58e4d055eb49a73d641dd (diff) | |
download | linux-f835f386a119c3f78f5acb93e86a4f025211739a.tar.bz2 |
gpu: ipu-v3: Add rotation mode conversion utilities
Add two functions:
- ipu_degrees_to_rot_mode(): converts a degrees, hflip, and vflip setting
to an IPU rotation mode.
- ipu_rot_mode_to_degrees(): converts an IPU rotation mode with given hflip
and vflip settings to degrees.
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'firmware/bnx2x')
0 files changed, 0 insertions, 0 deletions