mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
While working on a drm driver that doesn't need the i2c algobit stuff I noticed that DRM selects this code even though only 8 drivers actually use it. While also only some drivers use i2c, keep the select for I2C for the next cleanup patch. Still prepare this already by also selecting I2C for the individual drivers. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221219083627.1401627-1-u.kleine-koenig@pengutronix.de
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: MIT
|
|
|
|
config DRM_RADEON
|
|
tristate "ATI Radeon"
|
|
depends on DRM && PCI && MMU
|
|
depends on AGP || !AGP
|
|
select FW_LOADER
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_KMS_HELPER
|
|
select DRM_TTM
|
|
select DRM_TTM_HELPER
|
|
select SND_HDA_COMPONENT if SND_HDA_CORE
|
|
select POWER_SUPPLY
|
|
select HWMON
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
select INTERVAL_TREE
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
# radeon depends on ACPI_VIDEO when ACPI is enabled, for select to work
|
|
# ACPI_VIDEO's dependencies must also be selected.
|
|
select INPUT if ACPI
|
|
select ACPI_VIDEO if ACPI
|
|
# On x86 ACPI_VIDEO also needs ACPI_WMI
|
|
select X86_PLATFORM_DEVICES if ACPI && X86
|
|
select ACPI_WMI if ACPI && X86
|
|
help
|
|
Choose this option if you have an ATI Radeon graphics card. There
|
|
are both PCI and AGP versions. You don't need to choose this to
|
|
run the Radeon in plain VGA mode.
|
|
|
|
If M is selected, the module will be called radeon.
|
|
|
|
config DRM_RADEON_USERPTR
|
|
bool "Always enable userptr support"
|
|
depends on DRM_RADEON
|
|
select MMU_NOTIFIER
|
|
help
|
|
This option selects CONFIG_MMU_NOTIFIER if it isn't already
|
|
selected to enabled full userptr support.
|