Add destination-buffer pitch as argument to drm_fb_swab(). Done for consistency with the rest of the interface. v2: * update documentation (Noralf)
Showing the changes to include (1 of 4 files). Show all
Unified · Split
| @@ -17,8 +17,9 @@ void drm_fb_memcpy(void *dst, unsigned int dst_pitch, const void *vaddr, · 16 unmodified lines | |||
| 17 | const struct drm_framebuffer *fb, const struct drm_rect *clip); | 17 | const struct drm_framebuffer *fb, const struct drm_rect *clip); |
| 18 | void drm_fb_memcpy_toio(void __iomem *dst, unsigned int dst_pitch, const void *vaddr, | 18 | void drm_fb_memcpy_toio(void __iomem *dst, unsigned int dst_pitch, const void *vaddr, |
| 19 | const struct drm_framebuffer *fb, const struct drm_rect *clip); | 19 | const struct drm_framebuffer *fb, const struct drm_rect *clip); |
| 20 | void drm_fb_swab(void *dst, void *src, struct drm_framebuffer *fb, | 20 | void drm_fb_swab(void *dst, unsigned int dst_pitch, const void *src, |
| 21 | struct drm_rect *clip, bool cached); | 21 | const struct drm_framebuffer *fb, const struct drm_rect *clip, |
| 22 | bool cached); | ||
| 22 | void drm_fb_xrgb8888_to_rgb332(void *dst, void *vaddr, struct drm_framebuffer *fb, | 23 | void drm_fb_xrgb8888_to_rgb332(void *dst, void *vaddr, struct drm_framebuffer *fb, |
| 23 | struct drm_rect *clip); | 24 | struct drm_rect *clip); |
| 24 | void drm_fb_xrgb8888_to_rgb565(void *dst, void *vaddr, | 25 | void drm_fb_xrgb8888_to_rgb565(void *dst, void *vaddr, |