kms_rotation_crc: Calling commit2 instead of legacy commit
authorSonika Jindal <sonika.jindal@intel.com>
Tue, 19 Aug 2014 06:31:25 +0000 (12:01 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Aug 2014 10:46:57 +0000 (12:46 +0200)
commit4428151960b71a2ca4c83e8da3f4b0b826a8a26c
treea909815acc79e41dce5959db49f63bf3e0727019
parentc1cf0d81389e8cc696a233aa357130f97e1b9a4c
kms_rotation_crc: Calling commit2 instead of legacy commit

Since planes are universal now, using commit2 so that drmModeSetPlane can be
called for primary plane as well instead of drmModeSetCrtc. drmModeSetPlane will
update the x,y,w,h for the plane.

Cc: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/kms_rotation_crc.c