diff options
| author | Ville Syrjälä <[email protected]> | 2016-09-26 16:30:48 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-10-21 16:23:50 +0000 |
| commit | d138dd3c0c70979215f3184cf36f95875e37932e (patch) | |
| tree | 61bd350525aca0355886f3fb51304271e442d3eb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/atomic: Reject attempts to use multiple rotation angles at once (diff) | |
| download | kernel-d138dd3c0c70979215f3184cf36f95875e37932e.tar.gz kernel-d138dd3c0c70979215f3184cf36f95875e37932e.zip | |
drm: Add support for optional per-plane rotation property
Not all planes on the system may support the same rotations/reflections,
so make it possible to create a separate property for each plane.
This way userspace gets told exactly which rotations/reflections are
possible for each plane.
v2: Add drm_plane_create_rotation_property() helper
v3: Drop the BIT(), __builtin_ffs(x) - 1,
Moar WARNs for bad parameters
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_object.c')
0 files changed, 0 insertions, 0 deletions
