linux/drivers/gpu/drm/atmel-hlcdc
Ville Syrjälä bd2ef25d92 drm: Add drm_rotation_90_or_270()
We have intel_rotation_90_or_270() in i915 to check if the rotation is
90 or 270 degrees. Similar checks are elsewhere in drm, so let's move
the helper into a central place and use it everwhere.

v2: Drop the BIT()
    Convert all new intel_rotation_90_or_270() calls
    Deal with superfluous code shuffling

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1474907460-10717-2-git-send-email-ville.syrjala@linux.intel.com
2016-10-21 18:21:33 +02:00
..
atmel_hlcdc_crtc.c drm/atmel-hlcdc: Make ->reset() implementation static 2016-09-06 14:46:16 +02:00
atmel_hlcdc_dc.c drm: Add reference counting to drm_atomic_state 2016-10-17 08:19:57 +02:00
atmel_hlcdc_dc.h drm: atmel-hlcdc: route DMA accesses through AHB interfaces 2016-04-14 09:17:28 +02:00
atmel_hlcdc_layer.c Linux 4.0-rc3 2015-03-09 19:58:30 +10:00
atmel_hlcdc_layer.h drm: atmel-hlcdc: Atomic mode-setting conversion 2015-02-22 21:00:06 +01:00
atmel_hlcdc_output.c Linux 4.7-rc5 2016-07-02 15:56:01 +10:00
atmel_hlcdc_plane.c drm: Add drm_rotation_90_or_270() 2016-10-21 18:21:33 +02:00
Kconfig drm/atmel-hlcdc: make fbdev support really optional 2016-07-15 10:28:33 -04:00
Makefile drm: add Atmel HLCDC Display Controller support 2015-01-21 09:46:02 +01:00