From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, deller@gmx.de, m.szyprowski@samsung.com,
geert@linux-m68k.org, javierm@redhat.com, sam@ravnborg.org
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 0/2] fbdev: Fix image blitting for arbitrary image widths
Date: Sun, 13 Mar 2022 20:29:50 +0100 [thread overview]
Message-ID: <20220313192952.12058-1-tzimmermann@suse.de> (raw)
Recent optimization of the fbdev image-bitting helpers broke the code for
image width that do not align with multiples of 8. Both, sys and cfb, are
affected. Fix this problem by handling the trailing pixels on each line
separately.
Tested with simpledrm and the 7x14 font.
Thomas Zimmermann (2):
fbdev: Fix sys_imageblit() for arbitrary image widths
fbdev: Fix cfb_imageblit() for arbitrary image widths
drivers/video/fbdev/core/cfbimgblt.c | 28 +++++++++++++++++++++++----
drivers/video/fbdev/core/sysimgblt.c | 29 ++++++++++++++++++++++++----
2 files changed, 49 insertions(+), 8 deletions(-)
--
2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, deller@gmx.de, m.szyprowski@samsung.com,
geert@linux-m68k.org, javierm@redhat.com, sam@ravnborg.org
Cc: linux-fbdev@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>,
dri-devel@lists.freedesktop.org
Subject: [PATCH 0/2] fbdev: Fix image blitting for arbitrary image widths
Date: Sun, 13 Mar 2022 20:29:50 +0100 [thread overview]
Message-ID: <20220313192952.12058-1-tzimmermann@suse.de> (raw)
Recent optimization of the fbdev image-bitting helpers broke the code for
image width that do not align with multiples of 8. Both, sys and cfb, are
affected. Fix this problem by handling the trailing pixels on each line
separately.
Tested with simpledrm and the 7x14 font.
Thomas Zimmermann (2):
fbdev: Fix sys_imageblit() for arbitrary image widths
fbdev: Fix cfb_imageblit() for arbitrary image widths
drivers/video/fbdev/core/cfbimgblt.c | 28 +++++++++++++++++++++++----
drivers/video/fbdev/core/sysimgblt.c | 29 ++++++++++++++++++++++++----
2 files changed, 49 insertions(+), 8 deletions(-)
--
2.35.1
next reply other threads:[~2022-03-13 19:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 19:29 Thomas Zimmermann [this message]
2022-03-13 19:29 ` [PATCH 0/2] fbdev: Fix image blitting for arbitrary image widths Thomas Zimmermann
2022-03-13 19:29 ` [PATCH 1/2] fbdev: Fix sys_imageblit() " Thomas Zimmermann
2022-03-13 19:29 ` Thomas Zimmermann
2022-03-14 20:56 ` Geert Uytterhoeven
2022-03-14 20:56 ` Geert Uytterhoeven
2022-03-17 11:20 ` Javier Martinez Canillas
2022-03-13 19:29 ` [PATCH 2/2] fbdev: Fix cfb_imageblit() " Thomas Zimmermann
2022-03-13 19:29 ` Thomas Zimmermann
2022-03-14 8:41 ` Marek Szyprowski
2022-03-17 10:54 ` Daniel Vetter
2022-03-17 10:54 ` Daniel Vetter
2022-03-17 11:22 ` Javier Martinez Canillas
2022-03-24 21:15 ` [2/2] " Guenter Roeck
2022-03-24 21:15 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220313192952.12058-1-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=daniel@ffwll.ch \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=javierm@redhat.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.