drm/omap: print warning when rotating non-TILER fb
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Apr 2014 13:18:41 +0000 (16:18 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Apr 2014 10:35:14 +0000 (13:35 +0300)
commit5ac96345899be859529e05af42f708ae7bd65782
tree51de48868775faffd2cc1ec6be77db9bb5f2d16e
parent5e19c06d0e570a347669acc2b850c2f730090b60
drm/omap: print warning when rotating non-TILER fb

Print a warning when the user tries to rotate a non-TILER framebuffer.

Also set the rotation to 0, to avoid constant flood of the warnings in
case of page flipping.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_fb.c