linux/drivers/gpu/drm/omapdrm
Tomi Valkeinen 63871f713e drm/omap: remove unnecessary pitch round-up
omapdrm checks if the pixel stride is divisible by 8. This is meant to
ensure that the byte stride is 32, which is required by SGX.

The check is not correct, as it checks for pixels, not bytes, and thus
needlessly increases the stride for, e.g., NV12.

Also, SGX driver is not supported in the mainline, and the TI's SGX
driver nowadays does the memory allocation itself and doesn't rely on
omapdrm to figure out the correct pitch.

So we can just remove the whole roundup.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-06 10:14:27 +03:00
..
displays drm/omap: remove unneeded gpio includes 2016-06-06 10:14:27 +03:00
dss drm/omap: fix unused variable warning. 2016-06-03 14:39:41 +10:00
Kconfig Revert "drm/omap: no need to select OMAP2_DSS" 2016-05-31 08:30:14 +03:00
Makefile drm/omap: remove -Werror from Makefile 2016-03-03 17:38:46 +02:00
omap_connector.c
omap_crtc.c Merge tag 'topic/drm-misc-2016-03-14' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-03-16 11:09:26 +10: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
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
omap_drv.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
omap_drv.h drm/omap: remove unnecessary pitch round-up 2016-06-06 10:14:27 +03:00
omap_encoder.c
omap_fb.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_fbdev.c drm/omapdrm: Use unlocked gem unreferencing 2016-04-20 12:54:19 +02:00
omap_gem.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03: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
omap_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO