lib/display: Fix assertion in set_plane()
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 7 Feb 2014 14:12:44 +0000 (14:12 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 11 Feb 2014 13:50:16 +0000 (13:50 +0000)
commit3027de0a6653c6168fbc12f895a13c7d2a9ee0e2
treeb2fd135fc01ad4a32d2bec23792b7e0bd64bfd08
parentfb146aa7825b8f3a1c490f30b4c3912b7fe8eb6d
lib/display: Fix assertion in set_plane()

When cycling throuth planes, we still want to reach the cursor plane. We
have to special case IGT_PLANE_CURSOR as a shorthand to select the
cursor plane (the last plane on the pipe).

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/igt_kms.c