<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/staging/sm750fb, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/staging/sm750fb?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/staging/sm750fb?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-09-01T13:51:53Z</updated>
<entry>
<title>staging: sm750fb: fix mono image source stride mismatch in lynxfb_ops_imageblit()</title>
<updated>2026-09-01T13:51:53Z</updated>
<author>
<name>Muhammad Bilal</name>
<email>meatuni001@gmail.com</email>
</author>
<published>2026-09-01T11:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=cc7cd2a9228175c975f62ad56ed7c767701cb4fa'/>
<id>urn:sha1:cc7cd2a9228175c975f62ad56ed7c767701cb4fa</id>
<content type='text'>
sm750_hw_imageblit() advances its monochrome source pointer by
src_delta per scanline, and computes the correct rounded-up stride
internally as:

        bytes_per_scan = (width + start_bit + 7) / 8;

Its only caller, lynxfb_ops_imageblit(), instead passed src_delta as
image-&gt;width &gt;&gt; 3. For widths not a multiple of 8 this under-counted
the stride, so the source pointer fell further behind the real
per-scanline layout on every line, corrupting the rendered image.

Rather than just fixing the caller's calculation, remove src_delta
as a parameter entirely and have sm750_hw_imageblit() advance by the
bytes_per_scan it already computes for itself. There has only ever
been one caller, and that caller was passing an out-of-sync
derivative of the same width/start_bit values sm750_hw_imageblit()
already has, so keeping stride as a separate parameter served no
purpose beyond letting the two calculations drift apart, which is
exactly what happened here.

Rounding up, rather than down, is the direction consistent with the
rest of the fbdev core: struct fb_image mono bitmap data (the same
image-&gt;data this driver receives) is walked elsewhere with byte
strides derived from a ceiling division of width by 8. The generic
mono bit iterator in drivers/video/fbdev/core/fb_imageblit.h advances
scanlines with "iter-&gt;data += BITS_TO_BYTES(iter-&gt;width)", and
BITS_TO_BYTES() (include/linux/bitops.h) is a ceiling division.
sm750_hw_imageblit()'s own "(width + start_bit + 7) / 8" is that same
ceiling division with an added start_bit offset, so the caller's
"&gt;&gt; 3" (floor) was the one calculation out of step with how this data
layout is handled everywhere else.

Found by code review of sm750_hw_imageblit()'s internal stride
calculation against what its only caller was passing in, and
confirmed with a clean -Werror build. I do not have this hardware,
so this has not been exercised at runtime on real sm750 silicon.

Fixes: 81dee67e215b2 ("staging: sm750fb: add sm750 to staging")
Cc: stable@vger.kernel.org
Reviewed-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Muhammad Bilal &lt;meatuni001@gmail.com&gt;
Link: https://patch.msgid.link/20260901113031.161610-1-meatuni001@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: Remove unused function sm750_enable_dma</title>
<updated>2026-07-28T07:24:50Z</updated>
<author>
<name>Mohit Mishra</name>
<email>mishraloopmohit@gmail.com</email>
</author>
<published>2026-07-25T09:07:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=da4fa4e7aec22660a7a901a44f3cbb062a6779ff'/>
<id>urn:sha1:da4fa4e7aec22660a7a901a44f3cbb062a6779ff</id>
<content type='text'>
The function sm750_enable_dma is defined in ddk750_power.c and declared
in ddk750_power.h, but it is not called anywhere in the driver.

Remove the unused definition and declaration.

This addresses the first task in the drivers/staging/sm750fb/TODO list:
"- refine the code and remove unused code".

Signed-off-by: Mohit Mishra &lt;mishraloopmohit@gmail.com&gt;
Link: https://patch.msgid.link/20260725090750.113598-2-mishraloopmohit@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: rename CamelCase parameters in sm750_accel.h</title>
<updated>2026-07-28T07:24:01Z</updated>
<author>
<name>Gabriel Changamire</name>
<email>gaberashawn@gmail.com</email>
</author>
<published>2026-07-19T06:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=0d0c71cb9cb92cceff582c15a17c1cb8961eb140'/>
<id>urn:sha1:0d0c71cb9cb92cceff582c15a17c1cb8961eb140</id>
<content type='text'>
The prototypes and kernel-doc comments for sm750_hw_copyarea() and
sm750_hw_imageblit() still use the old CamelCase parameter names,
while the function definitions in sm750_accel.c already use
snake_case. Rename the header parameters to match the definitions.

Fixes 10 checkpatch "Avoid CamelCase" checks. No functional change.

Signed-off-by: Gabriel Changamire &lt;gaberashawn@gmail.com&gt;
Link: https://patch.msgid.link/20260719064601.12223-1-gaberashawn@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: Clean up whitespace and comment spacing in headers</title>
<updated>2026-07-28T07:23:51Z</updated>
<author>
<name>Mohit Mishra</name>
<email>mishraloopmohit@gmail.com</email>
</author>
<published>2026-07-22T17:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=b538a611d290da36b82c1ab924ae9d121f32ae3b'/>
<id>urn:sha1:b538a611d290da36b82c1ab924ae9d121f32ae3b</id>
<content type='text'>
Clean up minor formatting inconsistencies in sm750.h and sm750_accel.h:
- Remove a redundant consecutive blank line in sm750.h.
- Add missing spaces in comment blocks in sm750.h and sm750_accel.h.
- Align DE_SOURCE_X_K1_MONO_MASK macro definition in sm750_accel.h with
  spaces instead of tabs to match surrounding macros.

Signed-off-by: Mohit Mishra &lt;mishraloopmohit@gmail.com&gt;
Link: https://patch.msgid.link/20260722175817.213235-2-mishraloopmohit@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: remove unused set_all_eng_off field</title>
<updated>2026-07-17T12:19:40Z</updated>
<author>
<name>Hungyu Lin</name>
<email>dennylin0707@gmail.com</email>
</author>
<published>2026-07-16T04:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=ebe59e66b72f52debdab7c48613c4f4cf7ce0920'/>
<id>urn:sha1:ebe59e66b72f52debdab7c48613c4f4cf7ce0920</id>
<content type='text'>
The set_all_eng_off field is only initialized to 0 and is never set by
any caller.

Remove the unused field together with the dead cleanup path guarded by
it.

No functional change intended.

Signed-off-by: Hungyu Lin &lt;dennylin0707@gmail.com&gt;
Link: https://patch.msgid.link/20260716044613.2659-1-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: rename pvReg to mmio</title>
<updated>2026-07-07T09:20:05Z</updated>
<author>
<name>Jad Keskes</name>
<email>inasj268@gmail.com</email>
</author>
<published>2026-06-19T09:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=1be54c03f7519c9f4cd086a71cfae2dcdb618214'/>
<id>urn:sha1:1be54c03f7519c9f4cd086a71cfae2dcdb618214</id>
<content type='text'>
Rename the Hungarian-notation pvReg field to mmio, which describes
what it is (memory-mapped I/O) rather than what type it is (pointer
to void).

This is a purely mechanical change with no functional difference.

Signed-off-by: Jad Keskes &lt;inasj268@gmail.com&gt;
Link: https://patch.msgid.link/20260619091332.622116-1-inasj268@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: Add missing Kconfig dependency</title>
<updated>2026-07-07T09:18:37Z</updated>
<author>
<name>Rong Zhang</name>
<email>i@rong.moe</email>
</author>
<published>2026-06-02T18:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=da8fd33e7d6af4c069668c2d42234b969f706885'/>
<id>urn:sha1:da8fd33e7d6af4c069668c2d42234b969f706885</id>
<content type='text'>
The sm750 frame buffer driver depends on FB_IOMEM_FOPS, but its Kconfig
somehow misses it.

Fix it by making FB_SM750 select FB_IOMEM_FOPS, as other frame buffer
drivers do.

Fixes: dc0ad215e5d8 ("staging/sm750fb: Initialize fb_ops with fbdev macros")
Signed-off-by: Rong Zhang &lt;i@rong.moe&gt;
Link: https://patch.msgid.link/20260603-sm750-fb-iomem-kconfig-v1-1-7f6a3046cce2@rong.moe
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: remove duplicate init_status structure</title>
<updated>2026-07-07T09:18:33Z</updated>
<author>
<name>Hungyu Lin</name>
<email>dennylin0707@gmail.com</email>
</author>
<published>2026-05-30T22:24:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=523200db5cb01fdf6b4ff2626ba9fb94b1c7af43'/>
<id>urn:sha1:523200db5cb01fdf6b4ff2626ba9fb94b1c7af43</id>
<content type='text'>
struct init_status duplicates struct initchip_param and is only used
within the sm750fb driver.

Replace the remaining users of struct init_status with
struct initchip_param, remove the duplicate structure and eliminate
the unnecessary cast in hw_sm750_inithw().

No functional change intended.

Signed-off-by: Hungyu Lin &lt;dennylin0707@gmail.com&gt;
Reviewed-by: Dan Carpenter &lt;error27@gmail.com&gt;
Link: https://patch.msgid.link/20260530222432.4303-1-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: remove unused struct fields</title>
<updated>2026-07-07T09:18:21Z</updated>
<author>
<name>Ahmet Sezgin Duran</name>
<email>ahmet@sezginduran.net</email>
</author>
<published>2026-05-25T08:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a0410d5bd11bf366440e1406ceb4ed252d81a25f'/>
<id>urn:sha1:a0410d5bd11bf366440e1406ceb4ed252d81a25f</id>
<content type='text'>
Remove `void *priv` pointer field in following struct definitions:

- `struct lynxfb_crtc`
- `struct lynxfb_output`

Verified that no other code references them.

No functional changes.

Signed-off-by: Ahmet Sezgin Duran &lt;ahmet@sezginduran.net&gt;
Link: https://patch.msgid.link/20260525085808.171974-4-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: sm750fb: remove unnecessary initializations</title>
<updated>2026-07-07T09:18:14Z</updated>
<author>
<name>Ahmet Sezgin Duran</name>
<email>ahmet@sezginduran.net</email>
</author>
<published>2026-05-25T08:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f497d04c84f457a663c10ece51f8722308ea39df'/>
<id>urn:sha1:f497d04c84f457a663c10ece51f8722308ea39df</id>
<content type='text'>
Remove two instances of `ret = 0` initializations since the
variable is overridden unconditionally before being used.

Signed-off-by: Ahmet Sezgin Duran &lt;ahmet@sezginduran.net&gt;
Link: https://patch.msgid.link/20260525085808.171974-3-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
