History

drm/format-helper: Add destination-buffer pitch to drm_fb_swab()

Add destination-buffer pitch as argument to drm_fb_swab(). Done for consistency with the rest of the interface. v2: * update documentation (Noralf)

Thomas Zimmermann committed 5 years ago

Commit 3e3543c1 parent 27bd66d4 files · +21 −9Browse files

Showing the changes to include (1 of 4 files). Show all

Unified · Split

include/drm/drm_format_helper.h+3−2
@@ -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);
18void drm_fb_memcpy_toio(void __iomem *dst, unsigned int dst_pitch, const void *vaddr,18void 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);
20void drm_fb_swab(void *dst, void *src, struct drm_framebuffer *fb,20void 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);
22void drm_fb_xrgb8888_to_rgb332(void *dst, void *vaddr, struct drm_framebuffer *fb,23void drm_fb_xrgb8888_to_rgb332(void *dst, void *vaddr, struct drm_framebuffer *fb,
23 struct drm_rect *clip);24 struct drm_rect *clip);
24void drm_fb_xrgb8888_to_rgb565(void *dst, void *vaddr,25void drm_fb_xrgb8888_to_rgb565(void *dst, void *vaddr,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t