<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/drivers/gpu/drm/sysfb, branch master</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2026-08-28T12:34:53+00:00</updated>
<entry>
<title>Merge branch 'for-linux-next-fixes' of https://gitlab.freedesktop.org/drm/misc/kernel.git</title>
<updated>2026-08-28T12:34:53+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2026-08-28T12:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3ab5a84fe12f0df60b983ace94124cd89c0914dd'/>
<id>urn:sha1:3ab5a84fe12f0df60b983ace94124cd89c0914dd</id>
<content type='text'>
# Conflicts:
#	drivers/accel/ethosu/ethosu_drv.c
#	drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h
#	drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
</content>
</entry>
<entry>
<title>drm/sysfb: ofdrm: Fix is_avivo() constant comparison bug</title>
<updated>2026-08-26T06:50:53+00:00</updated>
<author>
<name>Shixiong Ou</name>
<email>oushixiong@kylinos.cn</email>
</author>
<published>2026-07-31T11:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=958f35cbb8955ca3fa439cd9f2092cb42414aa8c'/>
<id>urn:sha1:958f35cbb8955ca3fa439cd9f2092cb42414aa8c</id>
<content type='text'>
The is_avivo() function has a logic error where it compares a constant
to another constant instead of checking the device parameter:

  (PCI_VENDOR_ID_ATI_R600 &gt;= 0x9400)

Signed-off-by: Shixiong Ou &lt;oushixiong@kylinos.cn&gt;
Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Fixes: f496834e1674 ("drm/ofdrm: Add per-model device function")
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v6.2+
Link: https://patch.msgid.link/20260731111729.703116-1-oushixiong1025@163.com
</content>
</entry>
<entry>
<title>drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation</title>
<updated>2026-08-26T06:50:09+00:00</updated>
<author>
<name>Shixiong Ou</name>
<email>oushixiong@kylinos.cn</email>
</author>
<published>2026-08-25T10:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c6f48e59ece0123f6a11527ad4d89b21c2d65b87'/>
<id>urn:sha1:c6f48e59ece0123f6a11527ad4d89b21c2d65b87</id>
<content type='text'>
The framebuffer size calculation `fb_size = linebytes * height` can
overflow when both values are large (e.g., 46341 * 46341 &gt; INT_MAX).
Since linebytes and height are both int types, the multiplication is
performed as int * int, which results in undefined behavior on overflow.

Use check_mul_overflow() to detect and prevent this overflow, consistent
with the approach used in simpledrm.c and corebootdrm.c.

Signed-off-by: Shixiong Ou &lt;oushixiong@kylinos.cn&gt;
Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Fixes: c8a17756c425 ("drm/ofdrm: Add ofdrm for Open Firmware framebuffers")
Cc: &lt;stable@vger.kernel.org&gt; # v6.2+
Link: https://patch.msgid.link/20260825104134.669676-1-oushixiong1025@163.com
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Read panel orientation from DT node</title>
<updated>2026-07-08T11:44:40+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-07-01T12:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d131fadc933de446f9bd7f689fa03d7e95cb5ceb'/>
<id>urn:sha1:d131fadc933de446f9bd7f689fa03d7e95cb5ceb</id>
<content type='text'>
A device-tree panel node can specify the panel's rotation in steps
of 90 degrees. Set the DRM connector orientation accordingly. Use
UNKNOWN for the orientation if the field is missing or invalid.

v3:
- read the orientation with drm_of_get_panel_orientation() (Thierry)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patch.msgid.link/20260701121055.192475-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Validate mmap size against framebuffer size</title>
<updated>2026-06-30T09:14:21+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T09:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=127d52f9c64b1d9aab6226c4a1f38c37fb7254dc'/>
<id>urn:sha1:127d52f9c64b1d9aab6226c4a1f38c37fb7254dc</id>
<content type='text'>
The size of the mmap'ed framebuffer could be smaller than the minimum
required framebuffer size. Validate the resource size against the
framebuffer size.

Buggy firmware that triggers this check should be fixed up with a quirk
on a case-by-case base.

v3:
- fix size checks (Sashiko)
- improve error message for alignment check (Thierry)
- do not store aligned size value

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Suggested-by: Sashiko &lt;sashiko-bot@kernel.org&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patch.msgid.link/20260625094509.157581-6-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Improve stride validation</title>
<updated>2026-06-30T09:14:17+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T09:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=df6533f11688aa30be3bb883c7637f4ffdbb7cbd'/>
<id>urn:sha1:df6533f11688aa30be3bb883c7637f4ffdbb7cbd</id>
<content type='text'>
Validate the computed stride against the maximum value INT_MAX.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Fixes: 7bfa5c7b28d6 ("drm/simpledrm: Compute linestride with drm_format_info_min_pitch()")
Cc: &lt;stable@vger.kernel.org&gt; # v6.1+
Link: https://patch.msgid.link/20260625094509.157581-5-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Inline simplefb_get_validated_int()</title>
<updated>2026-06-30T09:14:14+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T09:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=61ab4a942a36a4405875e34bbdafff2b85cec803'/>
<id>urn:sha1:61ab4a942a36a4405875e34bbdafff2b85cec803</id>
<content type='text'>
The helper simplefb_get_validated_int() is only a wrapper around
drm_sysfb_get_validated_int(). Inline the function into its callers.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patch.msgid.link/20260625094509.157581-4-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Improve panel-size validation</title>
<updated>2026-06-30T09:14:10+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T09:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3a75a0761914d01c7362adf1f906cc1d1762c189'/>
<id>urn:sha1:3a75a0761914d01c7362adf1f906cc1d1762c189</id>
<content type='text'>
Validate the panel size from the device-tree node against the
limitations of struct drm_display_mode. The type only stores sizes
in 16-bit fields. Fail transparently on errors; do not warn.

v3:
- move comments to a more prominent place (Thierry)
v2:
- only use initialized values in debugging output (Sashiko)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Fixes: 2a6d731a8f16 ("drm/simpledrm: Allow physical width and height configuration via panel node")
Cc: Rayyan Ansari &lt;rayyan@ansari.sh&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v6.4+
Link: https://patch.msgid.link/20260625094509.157581-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/sysfb: simpledrm: Improve framebuffer-size validation</title>
<updated>2026-06-30T09:13:41+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T09:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=03f1a3545b721fa7fdadd00080e237519a286a97'/>
<id>urn:sha1:03f1a3545b721fa7fdadd00080e237519a286a97</id>
<content type='text'>
Validate the framebuffer size from the firmware against the
limitations of struct drm_display_mode. The type only stores sizes
in 16-bit fields. Fail probing on errors.

v2:
- remove unused function simplefb_get_validated_int0() (Sashiko)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Fixes: 11e8f5fd223b ("drm: Add simpledrm driver")
Cc: &lt;stable@vger.kernel.org&gt; # v5.14+
Fixes: 11e8f5fd223b ("drm: Add simpledrm driver")
Link: https://patch.msgid.link/20260625094509.157581-2-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>firmware: sysfb: Mark CONFIG_SYSFB_SIMPLEFB as deprecated</title>
<updated>2026-06-30T09:10:40+00:00</updated>
<author>
<name>Thomas Zimmermann</name>
<email>tzimmermann@suse.de</email>
</author>
<published>2026-06-25T06:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cc79eaf8ee25267e1197e73b15e0c6ebdbcd1bd2'/>
<id>urn:sha1:cc79eaf8ee25267e1197e73b15e0c6ebdbcd1bd2</id>
<content type='text'>
Mark CONFIG_SYSFB_SIMPLEFB as deprecated. Enabling it allows to
run simpledrm and simplefb on EFI/VESA framebuffers. Doing this
is discouraged in favor of using efidrm and vesadrm.

v2:
- resolve conflicting help texts (Sashiko)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patch.msgid.link/20260625065724.15794-1-tzimmermann@suse.de
</content>
</entry>
</feed>
