OpenCloudOS-Kernel/drivers/gpu/drm/omapdrm
Tomi Valkeinen cc8dd7661c drm/omap: fix tiled buffer stride calculations
omap_gem uses page alignment for buffer stride. The related calculations
are a bit off, though, as byte stride of 4096 gets aligned to 8192,
instead of 4096.

This patch changes the code to use DIV_ROUND_UP(), which fixes those
calculations and makes them more readable.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-06-02 11:09:34 +03:00
..
displays drm/omap: remove legacy get_resolution 2017-06-02 10:57:19 +03:00
dss drm/omap: fix YUV422 90/270 rotation with mirroring 2017-06-02 11:09:33 +03:00
Kconfig drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option 2017-04-03 12:36:40 +03:00
Makefile drm/omap: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:17 +02:00
TODO
omap_connector.c drm/omap: fix display SYNC/DE flags 2017-04-03 12:36:40 +03:00
omap_crtc.c drm: omapdrm: Handle events when enabling/disabling CRTCs 2017-06-02 10:53:41 +03:00
omap_debugfs.c drm/omap: Remove omap_debugfs_cleanup() 2017-01-27 15:25:53 +01: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: 64bit compile fixes 2017-06-02 10:57:13 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm/omap: define compat_ioctl 2017-06-02 10:57:14 +03:00
omap_drv.h drm/omap: remove omap_drm_win 2017-06-02 11:04:17 +03:00
omap_encoder.c drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures 2016-12-19 11:25:05 +02:00
omap_fb.c drm/omap: fix YUV422 rotation with TILER 2017-06-02 11:08:59 +03:00
omap_fbdev.c drm: omapdrm: Rename omap_gem_(get|put)_paddr() to omap_gem_(un)pin() 2017-06-02 10:57:05 +03:00
omap_gem.c drm/omap: fix tiled buffer stride calculations 2017-06-02 11:09:34 +03:00
omap_gem_dmabuf.c drm: omapdrm: Take GEM object reference when exporting dmabuf 2017-06-02 10:57:08 +03:00
omap_irq.c drm/omap: ratelimit OCP error 2017-06-02 10:57:21 +03:00
omap_plane.c drm/omap: DRM_MODE_REFLECT_* instead of mirror boolean 2017-06-02 11:07:14 +03: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