OpenCloudOS-Kernel/drivers/gpu/drm/omapdrm
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
..
displays drm: Remove superflous linux/fb.h includes 2016-08-12 10:41:39 +02:00
dss Revert "gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle" 2016-08-12 07:10:37 -04:00
Kconfig drm/omap: make fbdev support really optional 2016-07-18 09:11:34 +02:00
Makefile drm/omap: remove -Werror from Makefile 2016-03-03 17:38:46 +02:00
TODO
omap_connector.c drm: omap: Rely on the default ->best_encoder() behavior 2016-06-10 17:25:11 +02:00
omap_crtc.c drm/omapdrm: Implement gamma_lut atomic crtc properties 2016-06-07 17:10:49 +03:00
omap_debugfs.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm: Add reference counting to drm_atomic_state 2016-10-17 08:19:57 +02:00
omap_drv.h Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
omap_encoder.c drm/omap: print an error if display enable fails 2016-03-03 17:36:41 +02:00
omap_fb.c drm: BIT(DRM_ROTATE_?) -> DRM_ROTATE_? 2016-08-08 14:17:56 -04:00
omap_fbdev.c drm/omapdrm: don't call drm_helper_disable_unused_functions 2016-06-21 10:01:24 +02:00
omap_gem.c Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux 2016-08-01 21:44:08 -04:00
omap_gem_dmabuf.c Merge tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-03-24 08:41:59 +10:00
omap_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
omap_plane.c drm: Add drm_rotation_90_or_270() 2016-10-21 18:21:33 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00