diff options
| author | Ville Syrjälä <[email protected]> | 2016-09-26 16:30:46 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-10-21 16:21:33 +0000 |
| commit | bd2ef25d921c0d937e4bc4f5a4f98f534424c6aa (patch) | |
| tree | 79890cbbe96fd0d494c5240d64e0c47b24850d77 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | dma-buf/sync_file: hold reference to fence when creating sync_file (diff) | |
| download | kernel-bd2ef25d921c0d937e4bc4f5a4f98f534424c6aa.tar.gz kernel-bd2ef25d921c0d937e4bc4f5a4f98f534424c6aa.zip | |
drm: Add drm_rotation_90_or_270()
We have intel_rotation_90_or_270() in i915 to check if the rotation is
90 or 270 degrees. Similar checks are elsewhere in drm, so let's move
the helper into a central place and use it everwhere.
v2: Drop the BIT()
Convert all new intel_rotation_90_or_270() calls
Deal with superfluous code shuffling
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]> (v1)
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
