drm/exynos
Tobias Jakobi 2362c88251 exynos/fimg2d: add g2d_check_space()
This is going to be used to check if the command buffers have
enough space left prior to actual submission of the commands.

Use this in g2d_{solid_fill,copy,copy_with_scale}().

For this the parameter validation before buffer space
checking so that we can exit early if it fails.
Also don't reset the G2D context in this situation since
the buffers are not partially submitted anymore.

The repeat mode in g2d_copy_with_scale() is checked first
to make computation of space easier.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-09-21 17:43:14 +01:00
..
Makefile.am drm: remove no longer needed VISIBILITY_CFLAGS 2015-04-28 11:19:15 +01:00
exynos-symbol-check exynos: add symbols test 2015-04-28 11:19:15 +01:00
exynos_drm.c drm: remove drm_public macro 2015-04-28 11:19:15 +01:00
exynos_drm.h exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls 2015-02-02 14:45:53 -05:00
exynos_drmif.h exynos: removed unused fd field 2014-05-12 23:09:21 -04:00
exynos_fimg2d.c exynos/fimg2d: add g2d_check_space() 2015-09-21 17:43:14 +01:00
exynos_fimg2d.h exynos: fimg2d: follow-up fix for G2D_COEFF_MODE_GB_COLOR 2015-03-16 22:21:40 +00:00
fimg2d_reg.h exynos: fimg2d: unify register style 2015-03-10 19:23:49 +00:00
libdrm_exynos.pc.in libdrm: add exynos drm support 2012-05-12 10:04:54 -05:00