All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] ACPI: Introduce and use acpi_dev_is_video_device() helper
@ 2026-07-14 18:53 Andy Shevchenko
  2026-07-14 18:53 ` [PATCH v2 1/6] ACPI: utils: Introduce " Andy Shevchenko
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Andy Shevchenko @ 2026-07-14 18:53 UTC (permalink / raw)
  To: Rafael J. Wysocki, Andy Shevchenko, Mario Limonciello (AMD),
	Ilpo Järvinen, linux-acpi, linux-kernel, linux-i2c,
	linux-pci, platform-driver-x86, ibm-acpi-devel
  Cc: Rafael J. Wysocki, Len Brown, Mika Westerberg, Andi Shyti,
	Bjorn Helgaas, Henrique de Moraes Holschuh, Mark Pearson,
	Derek J. Clark, Hans de Goede

There are a few users that open code functionality of matching
a given device against ACPI video device IDs. The current approach
duplicates ID table along with the matching code. Consolidate it
under the acpi_dev_is_video_device() helper's hood.

Supposed to go via ACPI tree, please ack.

Changelog v2:
- rebased on top of the latest code base
- renamed helper and changed its prototype (Rafael, Mika)
- added tag (Wolfram)
- added patch to change scan.c as well

v1: 20220630212819.42958-1-andriy.shevchenko@linux.intel.com

Andy Shevchenko (6):
  ACPI: utils: Introduce acpi_dev_is_video_device() helper
  ACPI: scan: Convert to use acpi_dev_is_video_device() helper
  ACPI: video: Convert to use acpi_dev_is_video_device() helper
  i2c: acpi: Convert to use acpi_dev_is_video_device() helper
  PCI/VGA: Convert to use acpi_dev_is_video_device() helper
  platform/x86: thinkpad_acpi: Convert to use acpi_dev_is_video_device()
    helper

 drivers/acpi/scan.c                         |  4 +++-
 drivers/acpi/utils.c                        | 17 +++++++++++++++++
 drivers/acpi/video_detect.c                 |  7 +------
 drivers/i2c/i2c-core-acpi.c                 | 15 +++++----------
 drivers/pci/vgaarb.c                        |  4 +---
 drivers/platform/x86/lenovo/thinkpad_acpi.c |  2 +-
 include/linux/acpi.h                        |  1 +
 7 files changed, 29 insertions(+), 21 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-07-21 13:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 18:53 [PATCH v2 0/6] ACPI: Introduce and use acpi_dev_is_video_device() helper Andy Shevchenko
2026-07-14 18:53 ` [PATCH v2 1/6] ACPI: utils: Introduce " Andy Shevchenko
2026-07-14 19:14   ` sashiko-bot
2026-07-14 18:53 ` [PATCH v2 2/6] ACPI: scan: Convert to use " Andy Shevchenko
2026-07-14 19:18   ` sashiko-bot
2026-07-14 18:53 ` [PATCH v2 3/6] ACPI: video: " Andy Shevchenko
2026-07-14 19:21   ` sashiko-bot
2026-07-14 18:53 ` [PATCH v2 4/6] i2c: acpi: " Andy Shevchenko
2026-07-14 19:30   ` sashiko-bot
2026-07-14 18:53 ` [PATCH v2 5/6] PCI/VGA: " Andy Shevchenko
2026-07-14 19:36   ` sashiko-bot
2026-07-20  9:04   ` Ilpo Järvinen
2026-07-20  9:51     ` Andy Shevchenko
2026-07-14 18:53 ` [PATCH v2 6/6] platform/x86: thinkpad_acpi: " Andy Shevchenko
2026-07-14 19:47   ` sashiko-bot
2026-07-20 10:33   ` Ilpo Järvinen
2026-07-21 13:40 ` [PATCH v2 0/6] ACPI: Introduce and " Rafael J. Wysocki (Intel)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.