diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-16 16:57:31 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-22 11:46:42 +0100 |
commit | 42ee3f94f2c5c3258930c22da7c1b497dd635346 (patch) | |
tree | 3dab53d1c281e5e747a262b7c43fb5d60a0d076c /overlay/meson.build | |
parent | a839b53b790d9bc26cc775fe6a0d0a1e81ee7e1f (diff) |
lib/igt_kms: Handle changing rotation property correctly
The rotation property sucks because it may affect whether
drmModeSetPlane succeeds or not. Add some code to handle
this.
First try to set rotation directly, if that succeeds we
return immediately. If it fails we disable the plane, set
the rotation property and run the rest of the code.
This will hopefully make legacy rotation work in more cases when
scaling is not supported.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'overlay/meson.build')
0 files changed, 0 insertions, 0 deletions