1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/hotfix-radeon-printk.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- linux-6.11/drivers/gpu/drm/radeon/radeon_display.c.vanilla 2024-10-12 12:02:35.811678760 +0200
15 +++ linux-6.11/drivers/gpu/drm/radeon/radeon_display.c 2024-10-12 12:08:54.495009640 +0200
17 DRM_INFO("Radeon Display Connectors\n");
18 list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
19 radeon_connector = to_radeon_connector(connector);
20 - DRM_INFO("Connector %d:\n", i);
21 - DRM_INFO(" %s\n", connector->name);
22 + DRM_INFO("Connector %d: %s\n", i, connector->name);
23 if (radeon_connector->hpd.hpd != RADEON_HPD_NONE)
24 DRM_INFO(" %s\n", hpd_names[radeon_connector->hpd.hpd]);
25 if (radeon_connector->ddc_bus) {
26 --- linux-6.11/drivers/gpu/drm/radeon/radeon_fbdev.c.vanilla 2024-10-12 12:04:48.241677883 +0200
27 +++ linux-6.11/drivers/gpu/drm/radeon/radeon_fbdev.c 2024-10-12 12:06:44.695010497 +0200
29 DRM_INFO("fb mappable at 0x%lX\n", info->fix.smem_start);
30 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base);
31 DRM_INFO("size %lu\n", (unsigned long)radeon_bo_size(rbo));
32 - DRM_INFO("fb depth is %d\n", fb->format->depth);
33 - DRM_INFO(" pitch is %d\n", fb->pitches[0]);
34 + DRM_INFO("fb depth is %d, pitch is %d\n", fb->format->depth, fb->pitches[0]);