summaryrefslogtreecommitdiff
path: root/py/tests/gamma.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2017-04-16 19:05:18 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2017-04-16 19:12:43 +0300
commit944dd4fe95db2e29489818a570f010df2bccb06a (patch)
treeca9226388814f1b03e178fcf176b8b44c459073d /py/tests/gamma.py
parent94a58cd836950743bb1a16c7f48852d0cca57038 (diff)
Return primary plane already associated with the CRTC if it exists
The Crtc::get_primary_plane() method returns the first primary plane that supports the CRTC. While being correct, this could lead to multiple primary planes being associated with the CRTC, which can confuse applications. To avoid that, return insead the primary plane already associated with the CRTC if one exists, otherwise keep the current behaviour. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'py/tests/gamma.py')
0 files changed, 0 insertions, 0 deletions