summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2016-12-14 04:21:20 -0500
committerRobert Foss <robert.foss@collabora.com>2016-12-14 04:21:20 -0500
commit40769d7925d9b28cc7e71564e2378aebf20efbf8 (patch)
treec346f91d45df8de21c7212401271457c1ab98de8 /lib/igt_debugfs.h
parentf83ec418c40a428a96019f250f680d69e66588f9 (diff)
igt/kms_atomic: Match CRTC harder for special planes
Our heuristic for finding planes was previously matching the type, and ensuring that the plane was valid for that CRTC. However, VC4 now has primary/cursor planes which can wander multiple CRTCs, so we could pick a PRIMARY plane which was not the kernel's idea of crtc->primary, causing plane_primary_legacy to fail; ditto for cursor. Make find_plane try harder, by preferring to return planes which are already on the requested CRTC. Signed-off-by: Daniel Stone <daniels@collabora.com> Reported-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'lib/igt_debugfs.h')
0 files changed, 0 insertions, 0 deletions