From: "Dr. David Alan Gilbert"
Hi,
A few more AMD deadcoding patches spinning out of the
questions I asked, and Kenneth answered.
See:
https://lore.kernel.org/all/dm4pr12mb5165d85bd85bc8fc8bf7a3b48e...@dm4pr12mb5165.namprd12.prod.outlook.com/
Dave
Signed-off-by: Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert"
smu_v13_0_init_display_count() was added in 2020 by
commit c05d1c401572 ("drm/amd/swsmu: add aldebaran smu13 ip support (v3)")
but is unused.
See discussion on:
https://lore.kernel.org/all/dm4pr12mb5165d85bd85bc8fc8bf7a3b48e...@dm4pr12mb5165.namprd12.prod.outlook.c
From: "Dr. David Alan Gilbert"
The previous patch removed smu_mode2_reset_is_support()
which was the only function to call through the mode2_reset_is_support()
method pointer.
Remove the remaining functions that were assigned to it
and the pointer itself.
See discussion at:
https://lore.kernel.
From: "Dr. David Alan Gilbert"
smu_mode2_reset_is_support() was added in 2020 by
commit 5c03e5843e6b ("drm/amdgpu:add smu mode1/2 support for aldebaran")
but has remained unused.
See discussion at:
https://lore.kernel.org/all/dm4pr12mb5165d85bd85bc8fc8bf7a3b48e...@dm4pr12mb5165.namprd12.prod.out
From: "Dr. David Alan Gilbert"
The last use of smu_v11_0_get_dpm_level_range() was removed in 2020 by
commit 46a301e14e8a ("drm/amd/powerplay: drop unnecessary Navi1x specific
APIs")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0.h | 5 ---
.
From: "Dr. David Alan Gilbert"
Hi,
A bunch more deadcode around the AMD GPUs.
(I've not done smu_v14 which all looks rather new
to me, so perhaps you're still intending to use
some of the unused functions).
Signed-off-by: Dr. David Alan Gilbert
Dr. David Alan Gilbert (3):
drm/amd/pm/smu7:
From: "Dr. David Alan Gilbert"
smu7_copy_bytes_from_smc() was added in 2016 by
commit 1ff55f465103 ("drm/amd/powerplay: implement smu7_smumgr for asics
with smu ip version 7.")
but never used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
From: "Dr. David Alan Gilbert"
smu_v13_0_display_clock_voltage_request() and
smu_v13_0_set_min_deep_sleep_dcefclk() were added in 2020 by
commit c05d1c401572 ("drm/amd/swsmu: add aldebaran smu13 ip support (v3)")
but have remained unused.
Remove them.
smu_v13_0_display_clock_voltage_request() w
From: "Dr. David Alan Gilbert"
sync_file_debug_add() and sync_file_debug_remove() have been unused
since 2016's
commit d4cab38e153d ("staging/android: prepare sync_file for de-staging")
Remove them.
Since sync_file_debug_add was the only thing to add to
sync_file_list_head, the code that dumps
From: "Dr. David Alan Gilbert"
rn_vbios_smu_set_dprefclk() was added in 2019 by
commit 4edb6fc91878 ("drm/amd/display: Add Renoir clock manager")
rv1_vbios_smu_set_dprefclk() was also added in 2019 by
commit dc88b4a684d2 ("drm/amd/display: make clk mgr soc specific")
neither have been used.
Rem
From: "Dr. David Alan Gilbert"
radeon_fence_wait_any() last use was removed in 2023's
commit 254986e324ad ("drm/radeon: Use the drm suballocation manager
implementation.")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/radeon/radeon.h | 3 --
drivers/gpu/drm/radeo
From: "Dr. David Alan Gilbert"
The last use of r600_hdmi_audio_workaround() was removed by 2014's
commit 6e72376dcc66 ("radeon/audio: consolidate audio_mode_set()
functions")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/radeon/r600_hdmi.c | 22 --
From: "Dr. David Alan Gilbert"
radeon_doorbell_free() was added in 2013 by
commit 75efdee11b5d ("drm/radeon: implement simple doorbell page
allocator")
but never used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/radeon/radeon.h| 1 -
drivers/gpu/drm/radeon/ra
From: "Dr. David Alan Gilbert"
Hi,
Another set of deadcoding around amd/radeon GPU stuff.
Dave
Signed-off-by: Dr. David Alan Gilbert
Dr. David Alan Gilbert (4):
drm/radeon/radeon_audio: Remove unused r600_hdmi_audio_workaround
drm/radeon: Remove unused radeon_doorbell_free
drm/radeon:
From: "Dr. David Alan Gilbert"
qxl_io_flush_release() and qxl_io_flush_surfaces() were both added
in 2013's
commit f64122c1f6ad ("drm: add new QXL driver. (v1.4)")
but have remained unused. Remove them.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/qxl/qxl_cmd.c | 10 --
From: "Dr. David Alan Gilbert"
qxl_debugfs_add_files() has been unused since 2022's
commit d0719e09264b ("drm/qxl: Use TTM builtin resource manager debugfs
code")
Remove it.
This now leaves the debugfs_count and debugfs members of struct
qxl_device unused. Remove them.
QXL_DEBUGFS_MAX_COMPONE
From: "Dr. David Alan Gilbert"
Hi,
A couple of small deadcodings for qxl. The first
just cleans up a couple of trivial unusued wrappers.
The second cleans out some debugfs code that's been unused
for a few years.
Dave
Signed-off-by: Dr. David Alan Gilbert
Dr. David Alan Gilbert (2):
drm:
nt inline
for your consideration.
> -Original Message-
> From: linux-amlogic On Behalf
> Of Martin Blumenstingl
> Sent: Wednesday, April 9, 2025 11:44 PM
> To: linux-amlo...@lists.infradead.org; dri-devel@lists.freedesktop.org
> Cc: linux-ker...@vger.kernel.org; linux-ar
ght/Makefile | 1 -
drivers/video/backlight/pcf50633-backlight.c | 154 --
include/linux/mfd/pcf50633/adc.h | 69 ---
include/linux/mfd/pcf50633/backlight.h | 42 --
include/linux/mfd/pcf50633/core.h | 232 -
include/linux/mfd/pcf50633/gpio.
.
Signed-off-by: Dr. David Alan Gilbert
---
arch/mips/configs/ip27_defconfig | 1 -
drivers/mfd/Kconfig | 7 -
drivers/mfd/Makefile | 1 -
drivers/mfd/pcf50633-adc.c | 255 ---
include/linux/mfd/pcf50633/adc.h | 69 -
From: "Dr. David Alan Gilbert"
The pcf50633 was used as part of the OpenMoko devices but
the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by: Dr.
3-core.c | 301 --
include/linux/mfd/pcf50633/core.h | 229 ---
include/linux/mfd/pcf50633/mbc.h | 130 -----
include/linux/mfd/pcf50633/pmic.h | 68 ---
7 files changed, 741 deletions(-)
delete mode 100644 drivers/mfd/pcf50633-core.c
delete mode 100644 includ
From: "Dr. David Alan Gilbert"
The pcf50633 was used as part of the OpenMoko devices but
the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by: Dr.
From: "Dr. David Alan Gilbert"
As part of the pcf50633 removal, take out it's irq code
(which includes one bit still called from the core, but it'll
go soon).
Signed-off-by: Dr. David Alan Gilbert
---
drivers/mfd/Makefile| 2 +-
drivers/mfd/pcf50633-core.c | 5 +-
drivers/mfd/pcf50
From: "Dr. David Alan Gilbert"
The pcf50633 was used as part of the OpenMoko devices but
the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by: Dr.
.
Signed-off-by: Dr. David Alan Gilbert
---
arch/mips/configs/ip27_defconfig | 1 -
drivers/mfd/Kconfig | 7 ---
drivers/mfd/Makefile | 1 -
drivers/mfd/pcf50633-gpio.c | 92 ---
include/linux/mfd/pcf50633/gpio.h | 48 -
.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/video/backlight/Kconfig | 7 -
drivers/video/backlight/Makefile | 1 -
drivers/video/backlight/pcf50633-backlight.c | 154 ---
include/linux/mfd/pcf50633/backlight.h | 42 -
include/linux
From: "Dr. David Alan Gilbert"
The pcf50633 was used as part of the OpenMoko devices but
the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by: Dr.
.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/mfd/pcf50633-core.c | 2 -
drivers/video/backlight/Kconfig | 7 -
drivers/video/backlight/Makefile | 1 -
drivers/video/backlight/pcf50633-backlight.c | 154 ---
include/linux/mfd/
.
Signed-off-by: Dr. David Alan Gilbert
---
arch/mips/configs/ip27_defconfig | 1 -
drivers/mfd/Kconfig | 7 -
drivers/mfd/Makefile | 1 -
drivers/mfd/pcf50633-adc.c| 255 --
drivers/mfd/pcf50633-core.c | 2 -
includ
From: "Dr. David Alan Gilbert"
The pcf50633 was used as part of the OpenMoko devices but
the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by: Dr.
3-core.c | 260 --
include/linux/mfd/pcf50633/core.h | 224 -----
include/linux/mfd/pcf50633/mbc.h | 130 ---
include/linux/mfd/pcf50633/pmic.h | 68
7 files changed, 695 deletions(-)
delete mode 100644 drivers/mfd/pcf50633-core.c
delete mode 1006
.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/mfd/pcf50633-core.c| 35 +--
drivers/regulator/Kconfig | 7 --
drivers/regulator/Makefile | 1 -
drivers/regulator/pcf50633-regulator.c | 124 -----
include/linux/mfd/pcf50633/co
.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/mfd/pcf50633-core.c | 2 -
drivers/rtc/Kconfig | 7 -
drivers/rtc/Makefile | 1 -
drivers/rtc/rtc-pcf50633.c| 284 --
include/linux/mfd/pcf50633/core.h | 1 -
.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/input/misc/Kconfig | 7 --
drivers/input/misc/Makefile | 1 -
drivers/input/misc/pcf50633-input.c | 113
drivers/mfd/pcf50633-core.c | 2 -
include/linux/mfd/pcf50633/core.h | 1 -
From: "Dr. David Alan Gilbert"
As part of the pcf50633 removal, take out it's irq code
(which includes one bit still called from the core, but it'll
go soon).
Signed-off-by: Dr. David Alan Gilbert
---
drivers/mfd/Makefile| 2 +-
drivers/mfd/pcf50633-core.c | 5 +-
drivers/mfd/pcf50
.
Signed-off-by: Dr. David Alan Gilbert
---
arch/mips/configs/ip27_defconfig | 1 -
drivers/mfd/Kconfig | 7 ---
drivers/mfd/Makefile | 1 -
drivers/mfd/pcf50633-gpio.c | 92 ---
include/linux/mfd/pcf50633/gpio.h | 48 -
| 1 -
drivers/rtc/rtc-pcf50633.c | 284 ---
drivers/video/backlight/Kconfig | 7 -
drivers/video/backlight/Makefile | 1 -
drivers/video/backlight/pcf50633-backlight.c | 154 --
include/linux/mfd/pcf50633/adc.h | 69 ---
i
From: "Dr. David Alan Gilbert"
psb_mmu_virtual_to_pfn() was added in 2011 by
commit 8c8f1c958ab5 ("gma500: introduce the GTT and MMU handling logic")
but hasn't been used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/gma500/mmu.c | 41 --
From: "Dr. David Alan Gilbert"
psb_intel_ddc_probe() was added in 2011 by
commit 89c78134cc54 ("gma500: Add Poulsbo support")
but has remained unused (probably because drm_get_edid is used
instead).
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/gma500/psb_intel_drv.h
From: "Dr. David Alan Gilbert"
The mrst_clock_funcs const was added in 2013 by
commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
and commented as 'Not used yet'.
It's not been used since, so remove it.
The helper functions it points to are still used elsewhere.
Signed-off-by:
From: "Dr. David Alan Gilbert"
print__rq_dlg_params_st() was added in 2017 by
commit 061bfa06a42a ("drm/amdgpu/display: Add dml support for DCN")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../drm/amd/display/dc/dml/display_rq_dlg_helpers.c | 11 --
From: "Dr. David Alan Gilbert"
pp_atomfwctrl_get_pp_assign_pin() and pp_atomfwctrl_get_pp_assign_pin()
were added in 2017 by
commit 0d2c7569e196 ("drm/amdgpu: add new atomfirmware based helpers for
powerplay")
but have remained unused.
Remove them, and the helper functions they used.
Signed-off
From: "Dr. David Alan Gilbert"
phm_powerdown_uvd() has been unused since 2017's
commit 47047263c527 ("drm/amd/powerplay: delete eventmgr related files.")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../gpu/drm/amd/pm/powerplay/hwmgr/hardwaremanager.c | 10 --
drivers/gpu/dr
From: "Dr. David Alan Gilbert"
Hi,
Here's another blob of deadcoding in the amdgpu's;
this set is all the symbols I noticed that start with 'P'.
Most, as normal are whole function removals,
but I also nuke the powerdown_uvd member in one patch.
Dave
Signed-off-by: Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert"
pre_surface_trace() has been unused since 2017's
commit 745cc746da42 ("drm/amd/display: remove
dc_pre_update_surfaces_to_stream from dc use")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../gpu/drm/amd/display/dc/core/dc_debug.c| 120 ---
From: "Dr. David Alan Gilbert"
pqm_get_kernel_queue() has been unused since 2022's
commit 5bdd3eb25354 ("drm/amdkfd: Remove unused old debugger
implementation")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 --
.../gpu/drm/amd/am
From: "Dr. David Alan Gilbert"
With phm_powerdown_uvd() gone in the previous patch, there's
now no longer anything that reads the powerdown_uvd member of the
pp_hwmgr_func.
Remove it.
There are a few assignments to it; a boring NULL which can just go,
and two functions, but those functions are
From: "Dr. David Alan Gilbert"
The last use of omapdss_find_device_by_node() was removed by 2020's
commit 811860ddceac ("drm/omap: drop unused DSS next pointer")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/omapdrm/dss/base.c| 12
drivers/gpu/drm/omapd
From: "Dr. David Alan Gilbert"
The last use of optc3_fpu_set_vrr_m_const() was removed in 2022's
commit 64f991590ff4 ("drm/amd/display: Fix a compilation failure on PowerPC
caused by FPU code")
which removed the only caller (with a similar) name.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert"
The nbif_v6_3_1_sriov_funcs instance of amdgpu_nbio_funcs was added in
commit 894c6d3522d1 ("drm/amdgpu: Add nbif v6_3_1 ip block support")
but has remained unused.
Alex has confirmed it wasn't needed.
Remove it, together with the four unused stub functions:
nbi
From: "Dr. David Alan Gilbert"
link_enc_cfg_get_link_enc_used_by_stream() is no longer used after
2021's:
commit 6366b00346c0 ("drm/amd/display: Maintain consistent mode of
operation during encoder assignment")
which introduces and uses the _current version instead.
Remove it.
Signed-off-by: Dr
From: "Dr. David Alan Gilbert"
mpc1_is_mpcc_idle() was added in 2017 by
commit feb4a3cd8eb0 ("drm/amd/display: Integrating MPC pseudocode")
but never used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../gpu/drm/amd/display/dc/mpc/dcn10/dcn10_mpc.c | 16
.../gpu/drm/
From: "Dr. David Alan Gilbert"
get_clock_requirements_for_state() was added in 2018 by
commit 8ab2180f96f5 ("drm/amd/display: Add function to fetch clock
requirements")
but never used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 12 -
From: "Dr. David Alan Gilbert"
The last user of dc_stream_get_crtc_position() was
mod_freesync_get_v_position() which is removed in a previous
patch in this series.
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 27 --
dri
From: "Dr. David Alan Gilbert"
hubbub1_toggle_watermark_change_req() last use was removed in 2017 by
commit b8fce2c9d773 ("drm/amd/display: Optimize programming front end")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../amd/display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 ---
From: "Dr. David Alan Gilbert"
Another small pile of deadcode patches.
Signed-off-by: Dr. David Alan Gilbert
Dr. David Alan Gilbert (7):
drm/amd/display: Remove unused mpc1_is_mpcc_idle
drm/amd/display: Remove unused freesync functions
drm/amd/display: Remove unused dc_stream_get_crtc_p
From: "Dr. David Alan Gilbert"
mod_freesync_get_vmin_vmax() and mod_freesync_get_v_position() were
added in 2017 by
commit 72ada5f76939 ("drm/amd/display: FreeSync Auto Sweep Support")
mod_freesync_is_valid_range() was added in 2018 by
commit e80e94460841 ("drm/amd/display: add method to check f
From: "Dr. David Alan Gilbert"
get_max_support_fbc_buffersize() is unused since 2021's
commit 94f0d0c80cf3 ("drm/amd/display/dc/dce110/dce110_compressor: Remove
unused function 'dce110_get_required_compressed_surfacesize")
removed it's only caller.
Remove it.
Signed-off-by: Dr. David Alan Gilbe
From: "Dr. David Alan Gilbert"
The mrst_helper_funcs const was added in 2013 by
commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
and commented as 'Not used yet'.
It's not been used since, so remove it.
Signed-off-by: Dr. David Alan Gilbert
---
drivers/gpu/drm/gma500/oaktrai
From: "Dr. David Alan Gilbert"
The last use of live_context_for_engine() was removed in 2021 by
commit 99919be74aa3 ("drm/i915/gem: Zap the i915_gem_object_blt code")
Remove it.
Signed-off-by: Dr. David Alan Gilbert
---
.../gpu/drm/i915/gem/selftests/mock_context.c | 38 ---
.
From: "Dr. David Alan Gilbert"
layer_irqs[] was added in 2020 as part of
commit 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
but isn't used.
Remove it.
It was the only user of the LCD_INT_VL0, LCD_INT_VL1, LCD_INT_GL0
and LCD_INT_GL1 defines.
Remove them.
commit c026565fe9be ("dr
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
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
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.
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 --
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
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
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
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
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
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
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
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/
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
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
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
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_
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
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
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
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
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 -
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
[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
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/
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.
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
---
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
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
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
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
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
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
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
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
---
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
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
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.
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
1 - 100 of 1121 matches
Mail list logo