staging: drm/omap: invert dimensions on crtc when rotated
authorRob Clark <rob@ti.com>
Tue, 4 Sep 2012 16:36:20 +0000 (11:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:18:10 +0000 (12:18 -0700)
commit1e0fdfc2080015abf10a940de9a78a2748205f89
treeb8e4001a9ef5d9467e9d2631fa16e24a5b12d4aa
parent4619cdbc6b3fca9f07482095e338c16ee0c6d722
staging: drm/omap: invert dimensions on crtc when rotated

If rotated 90 or 270, we need to invert the dimensions used by drm
core for calculating if the dimensions of an attached fb are correct.

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_crtc.c