[PATCH] drm/amdkfd: Remove unused functions

2025-01-12 Thread linux
From: "Dr. David Alan Gilbert" kfd_device_by_pci_dev(), kfd_get_pasid_limit() and kfd_set_pasid_limit() have been unused since 2023's commit c99a2e7ae291 ("drm/amdkfd: drop IOMMUv2 support") Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/amdkfd/kfd_pasid.c| 24

[PATCH 0/7] gpu: ipu-v3: Remove unused functions

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" Hi, This set removes a bunch of functions in ipu-v3 that have been unused for a long time (since 2012-2017). No changes to functions are made, just full deletions. Build tested only. Signed-off-by: Dr. David Alan Gilbert Dr. David Alan Gilbert (7): gpu

[PATCH 6/7] gpu: ipu-v3: ipu-csi: Remove unused functions

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_csi_get_window(), ipu_csi_is_interlaced() and ipu_csi_set_test_generator() were added in 2014 by commit 2ffd48f2e7ae ("gpu: ipu-v3: Add Camera Sensor Interface unit") but have remained unused. Remove them. ipu_csi_set_testgen_mclk() is now unused. Remove it.

[PATCH 3/7] gpu: ipu-v3: Remove unused ipu_idmac_channel_busy

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" The last use of ipu_idmac_channel_busy() was removed in 2017 by commit eb8c88808c83 ("drm/imx: add deferred plane disabling") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/ipu-v3/ipu-common.c | 6 -- drivers/gpu/ipu-v3/ipu-prv.h| 2 --

[PATCH 4/7] gpu: ipu-v3: Remove unused ipu_image_convert_* functions

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_image_convert_enum_format() and ipu_image_convert_sync() were both added in 2016 by commit cd98e85a6b78 ("gpu: ipu-v3: Add queued image conversion support") but have remained unused. Remove them. ipu_image_convert_sync() was the last user of image_convert_syn

[PATCH 1/7] gpu: ipu-v3: ipu-ic: Remove unused ipu_ic_task_graphics_init

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_ic_task_graphics_init() was added in 2014 by commit 1aa8ea0d2bd5 ("gpu: ipu-v3: Add Image Converter unit") but has been unused. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/ipu-v3/ipu-ic.c | 73 - inclu

[PATCH 5/7] gpu: ipu-v3: Remove unused ipu_vdi_unsetup

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_vdi_unsetup() was added in 2016 by commit 2d2ead453077 ("gpu: ipu-v3: Add Video Deinterlacer unit") but has remained unused. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/ipu-v3/ipu-vdi.c | 11 --- include/video/imx-ipu-v3.h | 1

[PATCH 7/7] gpu: ipu-v3 ipu-cpmem: Remove unused functions

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_cpmem_set_yuv_interleaved() was added in 2012 by commit 0125f21b2baf ("staging: drm/imx: Add ipu_cpmem_set_yuv_interleaved()") but has remained unused. ipu_cpmem_get_burstsize() was added in 2016 by commit 03085911d7bb ("gpu: ipu-cpmem: Add ipu_cpmem_get_bursts

[PATCH 2/7] gpu: ipu-v3: Remove unused ipu_rot_mode_to_degrees

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" ipu_rot_mode_to_degrees() was added in 2014 by commit f835f386a119 ("gpu: ipu-v3: Add rotation mode conversion utilities") but has remained unused. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/ipu-v3/ipu-common.c | 32

[PATCH] x86/platform/iosf_mbi: Remove unused iosf_mbi_unregister_pmic_bus_access_notifier

2024-12-25 Thread linux
From: "Dr. David Alan Gilbert" The last use of iosf_mbi_unregister_pmic_bus_access_notifier() was removed in 2017 by commit a5266db4d314 ("drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset()") Remove it. Note the '_unlocked' version is still used. Signed-off-by: Dr. David Alan

[PATCH] drm/i915: Remove unused intel_huc_suspend

2024-12-22 Thread linux
From: "Dr. David Alan Gilbert" intel_huc_suspend() was added in 2022 by commit 27536e03271d ("drm/i915/huc: track delayed HuC load with a fence") but hasn't been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gt/uc/intel_huc.c | 13 - drivers/gpu/d

[PATCH] drm/i915: Remove unused intel_ring_cacheline_align

2024-12-22 Thread linux
From: "Dr. David Alan Gilbert" The last use of intel_ring_cacheline_align() was removed in 2017 by commit afa8ce5b3080 ("drm/i915: Nuke legacy flip queueing code") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gt/intel_ring.c | 24 drivers/

[PATCH] drm/i915: Remove deadcode

2024-12-22 Thread linux
From: "Dr. David Alan Gilbert" i915_active_acquire_for_context() was added in 2020 by commit 5d9341370f57 ("drm/i915: Export a preallocate variant of i915_active_acquire()") but has never been used. The last use of __i915_gem_object_is_lmem() was removed in 2021 by commit ff20afc4cee7 ("drm/i915

[PATCH 0/3] drm/i915/gvt: Deadcoding

2024-12-21 Thread linux
From: "Dr. David Alan Gilbert" Remove a bunch of long unused functions from the gvt code. Signed-off-by: Dr. David Alan Gilbert Dr. David Alan Gilbert (3): drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index drm/i915/gvt: Remove unused intel_vgpu_decode_sprite_plane drm/i915/gvt: Remove unu

[PATCH 3/3] drm/i915/gvt: Remove unused intel_gvt_in_force_nonpriv_whitelist

2024-12-21 Thread linux
From: "Dr. David Alan Gilbert" The last use of intel_gvt_in_force_nonpriv_whitelist() was removed in 2020 by commit 02dd2b12a685 ("drm/i915/gvt: unify lri cmd handler and mmio handlers") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gvt/handlers.c | 17

[PATCH 1/3] drm/i915/gvt: Remove intel_gvt_ggtt_h2g<->index

2024-12-21 Thread linux
From: "Dr. David Alan Gilbert" intel_gvt_ggtt_h2g_index() and intel_gvt_ggtt_index_g2h() were added in 2016 by commit 2707e4446688 ("drm/i915/gvt: vGPU graphics memory virtualization") but haven't been used. Remove them. They were the only users of intel_gvt_ggtt_gmadr_g2h() and intel_gvt_ggtt_

[PATCH 2/3] drm/i915/gvt: Remove unused intel_vgpu_decode_sprite_plane

2024-12-21 Thread linux
From: "Dr. David Alan Gilbert" intel_vgpu_decode_sprite_plane() was added in 2017 by commit 9f31d1063b43 ("drm/i915/gvt: Add framebuffer decoder support") but has remained unused. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gvt/fb_decoder.c | 117

[PATCH] drm/omap: Remove hdmi5_core_handle_irqs()

2024-12-17 Thread linux
From: "Dr. David Alan Gilbert" hdmi5_core_handle_irqs() is a function that was copied from omapdss by commit f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") but it wasn't used in the original anyway. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/omapdrm/dss

[PATCH] fbdev: omapfb: Remove unused hdmi5_core_handle_irqs

2024-12-17 Thread linux
From: "Dr. David Alan Gilbert" hdmi5_core_handle_irqs() has been unused since commit f5bab2229190 ("OMAPDSS: HDMI: Add OMAP5 HDMI support") Remove it. Signed-off-by: Dr. David Alan Gilbert --- .../video/fbdev/omap2/omapfb/dss/hdmi5_core.c | 17 - .../video/fbdev/omap2/omapfb

[PATCH] video: hdmi: Remove unused hdmi_infoframe_check

2024-12-16 Thread linux
7;re staying. Signed-off-by: Dr. David Alan Gilbert --- drivers/video/hdmi.c | 28 ---- include/linux/hdmi.h | 1 - 2 files changed, 29 deletions(-) diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c index ba301f3f4951..45b42f14a750 100644 --- a/drivers/video/h

[PATCH] drm/vboxvideo: Remove unused hgsmi_cursor_position

2024-12-15 Thread linux
From: "Dr. David Alan Gilbert" hgsmi_cursor_position() has been unused since 2018's commit 35f3288c453e ("staging: vboxvideo: Atomic phase 1: convert cursor to universal plane") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/vboxvideo/hgsmi_base.c | 37 -

[PATCH] gpu: host1x: Remove unused host1x_debug_dump_syncpts

2024-12-15 Thread linux
From: "Dr. David Alan Gilbert" host1x_debug_dump_syncpts() has been unused since commit f0fb260a0cdb ("gpu: host1x: Implement syncpoint wait using DMA fences") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/host1x/debug.c | 9 - drivers/gpu/host1x/debug.h | 1 - 2 fi

Re: [REGRESSION] GM20B pmu timeout

2024-11-12 Thread Linux regression tracking (Thorsten Leemhuis)
[CCing Danilo, who committed the culprit] On 04.11.24 13:11, Diogo Ivo wrote: > On Tue Oct 15, 2024 at 7:13 PM WEST, Linux regression tracking (Thorsten > Leemhuis) wrote: >> On 10.10.24 15:32, Diogo Ivo wrote: >>> >>> Somewhere between 6.11-rc4 and 6.11-rc5

[PATCH 5/5] drm/amd/display: Remove unused dcn_find_dcfclk_suits_all

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dcn_find_dcfclk_suits_all() last use was removed by 2018's commit 4fd994c448a3 ("drm/amd/display: Start using the new pp_smu interface") Remove it, and the dcn_find_normalized_clock_vdd_Level helper it used. Signed-off-by: Dr. David Alan Gilbert --- .../drm/amd/

[PATCH 4/5] drm/amd/display: Remove unused mmhubbub_warmup field

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" mmhubbub_warmup is a field that was only read by the just removed dc_stream_warmup_writeback() function. Remove the field and it's initialisers. It was only ever initialised to a single function value (dcn30_mmhubbub_warmup) which is called explicitly elsewhere.

[PATCH 3/5] drm/amd/display: Remove unused dc_stream_warmup_writeback

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dc_stream_warmup_writeback() is unused since it was added in 2019 by commit 6a652f6d127d ("drm/amd/display: Add warmup escape call support") Remove it. Note there is a dcn30 version that's called directly which is kept. Signed-off-by: Dr. David Alan Gilbert ---

[PATCH 2/5] drm/amd/display: Remove unused dwb3_set_host_read_rate_control

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dwb3_set_host_read_rate_control() has been unused since it was added by commit 8993dee0de2a ("drm/amd/display: Add DCN3 DWB") Remove it. Signed-off-by: Dr. David Alan Gilbert --- .../gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c| 13 - .../gpu/drm

[PATCH 1/5] drm/amd/display: Remove unused enable_surface_flip_reporting

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" enable_surface_flip_reporting() has been unused since it was added by commit 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 7 --- drivers/gpu/dr

[PATCH 0/5] Some more drm/amd/display deadcoding

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" Hi, This removes a bunch more functions (and a field) from drm/amd/display that are unused. Signed-off-by: Dr. David Alan Gilbert Dave Dr. David Alan Gilbert (5): drm/amd/display: Remove unused enable_surface_flip_reporting drm/amd/display: Remove unused d

[PATCH] drm/i915/gt: Remove unused execlists_unwind_incomplete_requests

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" execlists_unwind_incomplete_requests() is unused since 2021's commit eb5e7da736f3 ("drm/i915/guc: Reset implementation for new GuC interface") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gt/intel_engine.h | 3 --- driv

[PATCH v2 0/3] DRM deadcode

2024-10-29 Thread linux
From: "Dr. David Alan Gilbert" This is a bunch of deadcode removals; the first two are strictly whole function removals; the last as a revert also undoes an extra parameter that was added. It was a clean revert. v2 Drop Remove unused drm_client_framebuffer_flush Jocelyn & Thomas have plan

[PATCH v2 2/3] drm/sysfs: Remove unused drm_class_device_(un)register

2024-10-29 Thread linux
From: "Dr. David Alan Gilbert" drm_class_device_register() and drm_class_device_unregister() have been unused since commit ed89fff97382 ("drm/ttm: drop sysfs directory") Remove them. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/drm_sysfs.c | 32

[PATCH v2 3/3] Revert "drm/client: Add drm_client_modeset_check()"

2024-10-29 Thread linux
From: "Dr. David Alan Gilbert" drm_client_modeset_check() was explicitly added in 2020 by commit 64593f2a6fc9 ("drm/client: Add drm_client_modeset_check()") but has never been used. This reverts commit 64593f2a6fc933bb9a410bc3f8c261f3e57a9601. Signed-off-by: Dr. David Alan Gilbert --- drivers

[PATCH v2 1/3] drm: Remove unused drm_atomic_helper_commit_planes_on_crtc

2024-10-29 Thread linux
From: "Dr. David Alan Gilbert" The last use of drm_atomic_helper_commit_planes_on_crtc() was removed in 2018 by commit 6c246b81f938 ("drm/i915: Replace call to commit_planes_on_crtc with internal update, v2.") Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Dmitry Baryshkov ---

[PATCH] fbdev: omapfb: Remove some deadcode

2024-10-26 Thread linux
From: "Dr. David Alan Gilbert" commit f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") took a copy of the omapdrm code into omapfb, however at that point a couple of functions were already unused at that point. Remove dispc_mgr_get_clock_div() and dispc_enable_fifomerge() from the oma

[PATCH] drm/omap: Clean up deadcode functions

2024-10-26 Thread linux
From: "Dr. David Alan Gilbert" dispc_enable_fifomerge() last use was removed by 2012's commit 85099f11bd03 ("Revert "OMAPDSS: APPLY: add fifo merge support funcs"") dispc_has_writeback(), dispc_wb_get_framedone_irq(), dispc_wb_go(), dispc_wb_go_busy() and dispc_wb_setup() were changed from stati

[PATCH] drm: encoder_slave: Remove unused encoder functions

2024-10-25 Thread linux
From: "Dr. David Alan Gilbert" drm_i2c_encoder_commit(), drm_i2c_encoder_mode_set() and drm_i2c_encoder_prepare() have been unused since 2016's commit 7bc61cc5df80 ("drm/arcpgu: Accommodate adv7511 switch to DRM bridge"). Remove them. That change makes drm_i2c_encoder_dpms() unused. Remove it.

[PATCH 2/5] drm/sysfs: Remove unused drm_class_device_(un)register

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" drm_class_device_register() and drm_class_device_unregister() have been unused since commit ed89fff97382 ("drm/ttm: drop sysfs directory") Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/drm_sysfs.c | 32 i

[PATCH 1/5] drm: Remove unused drm_atomic_helper_commit_planes_on_crtc

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" The last use of drm_atomic_helper_commit_planes_on_crtc() was removed in 2018 by commit 6c246b81f938 ("drm/i915: Replace call to commit_planes_on_crtc with internal update, v2.") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/drm_atomic_hel

[PATCH 5/5] drm/client: Remove unused drm_client_modeset_check

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" drm_client_modeset_check() was explicitly added in 2020 by commit 64593f2a6fc9 ("drm/client: Add drm_client_modeset_check()") but has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/drm_client_modeset.c | 24

[PATCH 3/5] drm/vblank: Remove unused drm_crtc_vblank_count_and_time

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" drm_crtc_vblank_count_and_time() was explicitly added by commit cf6483050e9b ("drm/irq: Add drm_crtc_vblank_count_and_time()") in 2015, but never used. Remove it, and rework comments that reference it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/dr

[PATCH 0/5] DRM deadcode

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" Hi, This is a bunch of deadcode removals; they're all whole function removals, no changing actual code or behaviour. Note the last 3 delete functions that were each added (long ago) by patches that explicitly added that individual function, but then neve used the

[PATCH 4/5] drm/client: Remove unused drm_client_framebuffer_flush

2024-10-22 Thread linux
From: "Dr. David Alan Gilbert" drm_client_framebuffer_flush() was explicitly added in 2020 by commit c9c03e3cf072 ("drm/client: Add drm_client_framebuffer_flush()") but has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/drm_client.c | 33

[PATCH] nouveau: Remove unused functions

2024-10-21 Thread linux
From: "Dr. David Alan Gilbert" dcb_outp_match() last use was removed in 2017 in commit 99a845a30f62 ("drm/nouveau/disp/nv50-gt21x: remove workaround for dp->tmds hotplug issues") dcb_xpio_parse was added in 2012 in commit 112a12aab8a5 ("drm/nouveau/bios: add support for parsing xpio table data")

Re: [REGRESSION] GM20B pmu timeout

2024-10-15 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. On 10.10.24 15:32, Diogo Ivo wrote: > > Somewhere between 6.11-rc4 and 6.11-rc5 the following error message is > displayed > when trying to initialize a nvc0_screen on the Tegra X1's GM20B: > > [ 34.431210] n

[PATCH] drm/amd/display: Remove last parts of timing_trace

2024-10-10 Thread linux
From: "Dr. David Alan Gilbert" Commit c2c2ce1e9623 ("drm/amd/display: Optimize passive update planes.") removed the last caller of context_timing_trace. Remove it. With that gone, no one is now looking at the 'timing_trace' flag, remove it and all the places that set it. Signed-off-by: Dr. Davi

[PATCH] drm/amd/display: Remove unused cm3_helper_translate_curve_to_degamma_hw_format

2024-10-08 Thread linux
From: "Dr. David Alan Gilbert" cm3_helper_translate_curve_to_degamma_hw_format() since it was added in 2020's commit 03f54d7d3448 ("drm/amd/display: Add DCN3 DPP") Remove it. Signed-off-by: Dr. David Alan Gilbert --- .../amd/display/dc/dcn30/dcn30_cm_common.c| 151 -- .../

[PATCH] drm/rockchip: cdn-dp: Remove unused functions

2024-10-05 Thread linux
From: "Dr. David Alan Gilbert" cdn_dp_get_event and cdn_dp_dpcd_write were added in 2017 by commit 1a0f7ed3abe2 ("drm/rockchip: cdn-dp: add cdn DP support for rk3399") but unused. Remove them. (Build tested only on x86-64) Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/rockchip/cdn

[PATCH] drm/bridge: cdns-mhdp8546: Remove unused functions

2024-10-05 Thread linux
From: "Dr. David Alan Gilbert" cdns_mhdp_hdcp_set_lc() and cdns_mhdp_hdcp_set_public_key_param() were added by commit 6a3608eae6d3 ("drm: bridge: cdns-mhdp8546: Enable HDCP") but never used. Remove them. Signed-off-by: Dr. David Alan Gilbert --- .../drm/bridge/cadence/cdns-mhdp8546-hdcp.c |

[PATCH] drm/amd/display: Remove unused regamma functions

2024-10-04 Thread linux
From: "Dr. David Alan Gilbert" calculate_user_regamma_coeff() and calculate_user_regamma_ramp() were added in 2018 in commit 55a01d4023ce ("drm/amd/display: Add user_regamma to color module") but never used. Remove them and their helpers. Signed-off-by: Dr. David Alan Gilbert --- .../amd/dis

[PATCH] drm/amd/powerplay: Delete unused function and maths library

2024-09-29 Thread linux
From: "Dr. David Alan Gilbert" We start with the function 'atomctrl_calculate_voltage_evv_on_sclk' which has been unused since 2016's commit e805ed83ba1c ("drm/amd/powerplay: delete useless files.") Remove it. It was the last user of the struct ATOM_ASIC_PROFILING_INFO_V3_4 remove it. It was a

[PATCH 1/5] drm/amdgpu: Remove unused amdgpu_device_ip_is_idle

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" amdgpu_device_ip_is_idle is unused. It was renamed from 'amdgpu_is_idle' which was originally added in commit 5dbbb60ba61e ("drm/amdgpu: add IP helpers for wait_for_idle and is_idle") but hasn't been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- dr

[PATCH 3/5] drm/amdgpu: Remove unused amdgpu_gmc_vram_cpu_pa

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" amdgpu_gmc_vram_cpu_pa has been unused since commit 087451f372bf ("drm/amdgpu: use generic fb helpers instead of setting up AMD own's.") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 12 drivers/gpu/

[PATCH 4/5] drm/amdgpu: Remove unused amdgpu_gfx_bit_to_me_queue

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" amdgpu_gfx_bit_to_me_queue has been unused since it was added in commit 7470bfcf2014 ("drm/amdgpu: add helper function for gfx queue/bitmap transition") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 10 --

[PATCH 5/5] drm/amdgpu: Remove unused amdgpu_i2c functions

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" amdgpu_i2c_add and amdgpu_i2c_init were added in 2015's commit d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)") but never used. Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | 25 - driver

[PATCH 2/5] drm/amdgpu: Remove unused amdgpu_atpx functions

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" amdgpu_atpx_dgpu_req_power_for_displays has been unused since commit bdb1ccb080da ("drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in") amdgpu_atpx_get_dhandle has been unused since commit f9b7f3703ff9 ("drm/amdgpu/acpi: make ATPX/ATCS struc

[PATCH 0/5] AMDGPU deadcode

2024-09-22 Thread linux
From: "Dr. David Alan Gilbert" Hi, This is a bunch of deadcode removal in amdgpu; some of the functions are ones which were previously used but haven't been for a while, others are functions that were added a few years ago and haven't ever been used. There are some others that I've not remov

[PATCH] backlight: Remove notifier

2024-09-19 Thread linux
d, it means that the backlight_notifier list is always empty. Remove the functions, the list itself and the enum used in the notifications. Signed-off-by: Dr. David Alan Gilbert --- drivers/video/backlight/backlight.c | 42 ----- include/linux/backlight.h | 20 ---

[PATCH] drm/amd/display: Remove unused function bios_get_vga_enabled_displays

2024-09-15 Thread linux
From: "Dr. David Alan Gilbert" bios_get_vga_enabled_displays has been unused since commit 5a8132b9f606 ("drm/amd/display: remove dead dc vbios code") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c | 7 --- drivers/gpu/drm/am

Re: [REGRESSION] Brightness at max level after waking up from sleep on AMD Laptop

2024-07-30 Thread Linux regression tracking (Thorsten Leemhuis)
e. > > With the help of Arch Linux team, we was able to track bad commit to > this: > https://gitlab.freedesktop.org/agd5f/linux/-/commit/63d0b87213a0ba241b3fcfba3fe7b0aed0cd1cc5 Hamza Mahfooz, in case you missed it, that is a patch of yours: 63d0b87213a0ba ("drm/amd/display: add

Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10

2024-07-29 Thread Linux regression tracking (Thorsten Leemhuis)
On 29.07.24 10:47, Christian Heusel wrote: > On 24/07/29 10:35AM, Linux regression tracking (Thorsten Leemhuis) wrote: >> [+Greg +stable] >> >> On 29.07.24 10:16, Lin, Wayne wrote: >>> >>> Thanks for the report. >>> >>>

Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10

2024-07-29 Thread Linux regression tracking (Thorsten Leemhuis)
;> -Original Message- >> From: ke...@holm.dev >> Sent: Sunday, July 28, 2024 12:43 AM >> To: Linux regressions mailing list ; Deucher, >> Alexander ; Wu, Hersen >> ; Lin, Wayne >> Cc: regressi...@lists.linux.dev; sta...@vger.kernel.org; LKML > ker...@vg

Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10

2024-07-27 Thread Linux regression tracking (Thorsten Leemhuis)
displays. > > The CPU in the Lenovo P14s is a 'AMD Ryzen 7 PRO 5850U with Radeon > Graphics' and it has no discrete GPU. > > I first noticed the issue with kernel version '6.10.0-arch1-2' > provided by arch linux. With the previous kernel version > '6.9

[regression] opening and closing /dev/dri/card0 in a QEMU KVM instance will shutdown system

2024-07-24 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. I noticed a report about a regression in bugzilla.kernel.org that appears to be related to the simpledrm driver. As many (most?) kernel developers don't keep an eye on the bug tracker, I decided to write this mail. To quote

Re: 6.10/bisected/regression - commits bc87d666c05 and 6d4279cb99ac cause appearing green flashing bar on top of screen on Radeon 6900XT and 120Hz

2024-07-09 Thread Linux regression tracking (Thorsten Leemhuis)
looks stalled -- and the regression report is 6 weeks old by now. :-/ Or was a solution found in between? So I assume no solution will be ready in time for the 6.10 final? I also assume a "simple" temporary revert is not a option or bears big risks? Ciao, Thorsten (wearing his '

Re: [REGRESSION] QXL display malfunction

2024-07-01 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting for once, to make this easily accessible to everyone. Thomas, was there some progress wrt to fixing below regression? I might have missed something, but from here it looks like this fall through the cracks. Makes me wond

Re: 6.10/bisected/regression - commits bc87d666c05 and 6d4279cb99ac cause appearing green flashing bar on top of screen on Radeon 6900XT and 120Hz

2024-06-21 Thread Linux regression tracking (Thorsten Leemhuis)
of 771ed66105de and unfortunately the > issue is not fixed. > I saw a green flashing bar on top of the screen again. Hmmm, I might have missed something, but it looks like nothing happened here since then. What's the status? Is the issue still happening? Any solution in sight? Ciao, T

Re: [PATCH V2] drm/bridge: adv7511: Fix Intermittent EDID failures

2024-06-17 Thread Linux regression tracking (Thorsten Leemhuis)
On 17.06.24 15:14, Adam Ford wrote: > On Mon, Jun 17, 2024 at 8:00 AM Linux regression tracking (Thorsten > Leemhuis) wrote: >> >> [CCing the regression list, as it should be in the loop for regressions: >> https://docs.kernel.org/admin-guide/reporting-regressions.html] &

Re: [PATCH V2] drm/bridge: adv7511: Fix Intermittent EDID failures

2024-06-17 Thread Linux regression tracking (Thorsten Leemhuis)
f3d9683346d6b1 ("drm/bridge: adv7511: Allow IRQ to share GPIO pins") [which went into v6.10-rc1]. Adam and Dimitry, what are your stances on this patch from Adam? I'm asking, as you authored respectively committed the culprit? Ciao, Thorsten (wearing his 'the Linux kernel'

Re: [PATCH v4 1/5] clk: sunxi-ng: common: Support minimum and maximum rate

2024-06-12 Thread Linux regression tracking (Thorsten Leemhuis)
rm/sun4i: hdmi: Move mode_set into enable > > With those two (the second depends on the first) cherry-picked on top of > v6.6.31, the HDMI output is working again. Likewise on v6.8.10. They from what I can see are not yet in 6.6.y or on their way there (6.8 is EOL now). Did anyone ask Greg

Re: [REGRESSION] QXL display malfunction

2024-06-12 Thread Linux regression tracking (Thorsten Leemhuis)
[CCing a few more people and lists that get_maintainers pointed out for qxl] Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting for once, to make this easily accessible to everyone. Thomas, from here it looks like this report that apparently is caused by a change of yours

Re: 6.10/bisected/regression - commits bc87d666c05 and 6d4279cb99ac cause appearing green flashing bar on top of screen on Radeon 6900XT and 120Hz

2024-06-07 Thread Linux regression tracking (Thorsten Leemhuis)
gress somewhere and I just missed it? Or would it be better if Mikhail would report this to https://gitlab.freedesktop.org/drm/amd/-/issues/ ? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking:

Re: 6.10/regression/bisected commit c4cb23111103 causes sleeping function called from invalid context at kernel/locking/mutex.c:585

2024-05-27 Thread Linux regression tracking (Thorsten Leemhuis)
at >> kernel/locking/mutex.c:585 > I am also getting this error on every boot. Decoded stacktrace: TWIMC & for the record: Boris also reported this; Vasant Hegde replied and said a fix is in the works: https://lore.kernel.org/all/898d356d-ec7d-41de-82d8-3ed4dc559...@amd.com/ Ciao

[PATCH] drm/xe: remove unused struct 'xe_gt_desc'

2024-05-22 Thread linux
From: "Dr. David Alan Gilbert" 'xe_gt_desc' is unused since commit 1e6c20be6c83 ("drm/xe: Drop extra_gts[] declarations and XE_GT_TYPE_REMOTE"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/xe/xe_pci.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gp

Re: [PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-05-21 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting for once, to make this easily accessible to everyone. Hmm, from here it looks like the patch now that it was reviewed more that a week ago is still not even in -next. Is there a reason? I know, we are in the merge window

[PATCH v2] drm/bridge: analogix: remove unused struct 'bridge_init'

2024-05-20 Thread linux
From: "Dr. David Alan Gilbert" commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the ana

[PATCH 2/3] drm/amd/display: remove unused struct 'aux_payloads'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'aux_payloads' is unused since commit eae5ffa9bd7b ("drm/amd/display: Switch ddc to new aux interface") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.c | 4 1 file changed, 4 deletions(-) diff --

[PATCH 3/3] drm/amd/display: remove unused struct 'dc_reg_sequence'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'dc_reg_sequence' was added in commit 44788bbc309b ("drm/amd/display: refactor reg_update") but isn't actually used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 - 1 file changed, 5 deletions(-) diff

[PATCH 1/3] drm/amdgpu: remove unused struct 'hqd_registers'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'hqd_registers' used to be used in a member of the 'bonaire_mqd' struct. 'bonaire_mqd' was removed by commit 486d807cd9a9 ("drm/amdgpu: remove duplicate definition of cik_mqd") It's now unused. Remove 'hqd_registers' as well. Signed-off-by: Dr. David Alan Gilbert

[PATCH 0/3] A bunch of struct removals

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" A bunch of deadcode/struct removals in drm/amd Signed-off-by: Dr. David Alan Gilbert Dr. David Alan Gilbert (3): drm/amdgpu: remove unused struct 'hqd_registers' drm/amd/display: remove unused struct 'aux_payloads' drm/amd/display: remove unused struct 'dc

[PATCH 3/6] drm/vmwgfx: remove unused struct 'vmw_stdu_dma'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'vmw_stdu_dma' is unused since commit 39985eea5a6d ("drm/vmwgfx: Abstract placement selection") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/vmwgf

[PATCH 2/6] drm/nouveau: remove unused struct 'init_exec'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'init_exec' is unused since commit cb75d97e9c77 ("drm/nouveau: implement devinit subdev, and new init table parser") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/nouveau/nouveau_bios.c | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 1/6] drm/bridge: analogix: remove unused struct 'bridge_init'

2024-05-17 Thread linux
From: "Dr. David Alan Gilbert" 'bridge_init' is unused, I think following: commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") (which is where a git --follow finds it) Remove it. Build tested. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/bridge/analogix/analo

[PATCH] drm/komeda: remove unused struct 'gamma_curve_segment'

2024-05-16 Thread linux
From: "Dr. David Alan Gilbert" 'gamma_curve_segment' looks like it has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_

Re: [PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-05-09 Thread Linux regression tracking (Thorsten Leemhuis)
On 18.04.24 21:43, Harry Wentland wrote: > On 2024-03-07 01:29, Wayne Lin wrote: >> [Why] >> Commit: >> - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload >> allocation/removement") >> accidently overwrite the commit >> - commit 54d217406afe ("drm: use mgr->dev in drm_dbg_kms in >> dr

Re: [Regression] 6.9.0: WARNING: workqueue: WQ_MEM_RECLAIM ttm:ttm_bo_delayed_delete [ttm] is flushing !WQ_MEM_RECLAIM events:qxl_gc_work [qxl]

2024-05-08 Thread Linux regression tracking (Thorsten Leemhuis)
On 08.05.24 14:35, Anders Blomdell wrote: > On 2024-05-07 07:04, Linux regression tracking (Thorsten Leemhuis) wrote: >> On 06.05.24 16:30, David Wang wrote: >>>> On 30.04.24 08:13, David Wang wrote: >> >>>> And confirmed that the warning is caused by >&g

Re: [Regression] 6.9.0: WARNING: workqueue: WQ_MEM_RECLAIM ttm:ttm_bo_delayed_delete [ttm] is flushing !WQ_MEM_RECLAIM events:qxl_gc_work [qxl]

2024-05-06 Thread Linux regression tracking (Thorsten Leemhuis)
On 06.05.24 16:30, David Wang wrote: >> On 30.04.24 08:13, David Wang wrote: >> And confirmed that the warning is caused by >> 07ed11afb68d94eadd4ffc082b97c2331307c5ea and reverting it can fix. > > The kernel warning still shows up in 6.9.0-rc7. > (I think 4 high load processes on a 2-Core VM c

Re: nouveau: r535.c:1266:3: error: label at end of compound statement default: with gcc-8

2024-04-29 Thread Linux regression tracking (Thorsten Leemhuis)
On 29.04.24 17:06, Naresh Kamboju wrote: > Following build warnings / errors noticed on Linux next-20240429 tag on the > arm64, arm and riscv with gcc-8 and gcc-13 builds pass. > > Reported-by: Linux Kernel Functional Testing > > Commit id: > b58a0bc904ff nouveau: ad

Re: [REGRESSION] external monitor+Dell dock in 6.8

2024-04-02 Thread Linux regression tracking (Thorsten Leemhuis)
[Adding a few folks and list while dropping the stable list, as this is unrelated to it] On 31.03.24 07:59, Andrei Gaponenko wrote: > > I noticed a regression with the mailine kernel pre-compiled by EPEL. > I have just tried linux-6.9-rc1.tar.gz from kernel.org, and it still >

Re: [PATCH 1/1] drm/qxl: fixes qxl_fence_wait

2024-03-20 Thread Linux regression tracking (Thorsten Leemhuis)
x27;s why I'm asking. Would be really good to finally get this resolved... Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did s

Re: [PATCH] Fix divide-by-zero on DP unplug with nouveau

2024-03-11 Thread Linux regression tracking (Thorsten Leemhuis)
On 11.03.24 17:09, Imre Deak wrote: > On Sat, Feb 10, 2024 at 09:24:59PM +, Chris Bainbridge wrote: > Sorry for the delay. Happens, thx for looking onto this! >> The following trace occurs when using nouveau and unplugging a DP MST >> adaptor: > [...] >> +if (bpp_x16 == 0) >> +

Re: [REGRESSION] Divide-by-zero on DisplayPort MST unplug with nouveau

2024-03-11 Thread Linux regression tracking (Thorsten Leemhuis)
6 Mostly silence there as well. :-/ Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S: Chris, sorry, I had missed that you initially proposed the fix a month ago; if I had noticed this earlier I had sent a mail like this one earlier. -- Everything y

Re: [pull] drm/msm: drm-msm-next-2024-02-29 for v6.9

2024-03-05 Thread Linux regression tracking (Thorsten Leemhuis)
of course I might be wrong with that). Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.

Re: [PATCH] drm/nouveau: keep DMA buffers required for suspend/resume

2024-03-03 Thread Linux regression tracking (Thorsten Leemhuis)
em_dtor(gsp, &gsp->rmargs); > + nvkm_gsp_mem_dtor(gsp, &gsp->wpr_meta); > nvkm_gsp_mem_dtor(gsp, &gsp->shm.mem); > nvkm_gsp_mem_dtor(gsp, &gsp->loginit); > nvkm_gsp_mem_dtor(gsp, &gsp->logintr); To be sure the issue doesn't fa

Re: drm/msm: VT console DisplayPort regression in 6.8-rc1

2024-02-27 Thread Linux regression tracking #update (Thorsten Leemhuis)
previously reported this here: > > https://gitlab.freedesktop.org/drm/msm/-/issues/50 Then let's tell regzbot about is as well, in case the ticket comes back to life now: #regzbot duplicate: https://gitlab.freedesktop.org/drm/msm/-/issues/50 Ciao, Thorsten (wearing his 't

Re: Bug#1061449: linux-image-6.7-amd64: a boot message from amdgpu

2024-02-14 Thread Linux regression tracking #update (Thorsten Leemhuis)
ot fix: drm/amd/display: Only allow dig mapping to pwrseq in new asic #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.

Re: drm/msm: DisplayPort regressions in 6.8-rc1

2024-02-14 Thread Linux regression tracking (Thorsten Leemhuis)
On 13.02.24 19:00, Abhinav Kumar wrote: > > Thanks for the report. > > I do agree that pm runtime eDP driver got merged that time but I think > the issue is either a combination of that along with DRM aux bridge > https://patchwork.freedesktop.org/series/122584/ OR just the latter as > even that

Re: Bug#1061449: linux-image-6.7-amd64: a boot message from amdgpu

2024-01-28 Thread Linux regression tracking (Thorsten Leemhuis)
On 27.01.24 14:14, Salvatore Bonaccorso wrote: > > In Debian (https://bugs.debian.org/1061449) we got the following > quotred report: > > On Wed, Jan 24, 2024 at 07:38:16PM +0100, Patrice Duroux wrote: >> >> Giving a try to 6.7, here is a message extracted from dmesg: >> [4.177226] ---

Re: [REGRESSION] rx7600 stopped working after "1cfb4d612127 drm/amdgpu: put MQDs in VRAM"

2023-12-06 Thread Linux regression tracking #update (Thorsten Leemhuis)
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 26.10.23 19:33, Alexey Klimov wrote: > #regzbot introduced: 1cfb4d612127 > #regzbot title: rx7600 stopped working after "1cfb4d612127 drm/amdgpu: put >

Re: Bug#1054514: linux-image-6.1.0-13-amd64: Debian VM with qxl graphics freezes frequently

2023-12-06 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting for once, to make this easily accessible to everyone. Gerd, it seems this regression[1] fell through the cracks. Could you please take a look? Or is there a good reason why this can't be addressed? Or was it dealt

  1   2   3   4   5   6   7   8   9   10   >