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
1717 const struct drm_framebuffer *fb, const struct drm_rect *clip);
1818 void drm_fb_memcpy_toio(void __iomem *dst, unsigned int dst_pitch, const void *vaddr,
1919 const struct drm_framebuffer *fb, const struct drm_rect *clip);
20−void drm_fb_swab(void *dst, void *src, struct drm_framebuffer *fb,
21− struct drm_rect *clip, bool cached);
20+void drm_fb_swab(void *dst, unsigned int dst_pitch, const void *src,
21+ const struct drm_framebuffer *fb, const struct drm_rect *clip,
22+ bool cached);
2223 void drm_fb_xrgb8888_to_rgb332(void *dst, void *vaddr, struct drm_framebuffer *fb,
2324 struct drm_rect *clip);
2425 void 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