2005-04-17 05:20:36 +07:00
|
|
|
#
|
|
|
|
# Drm device configuration
|
|
|
|
#
|
|
|
|
# This driver provides support for the
|
|
|
|
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
|
|
|
#
|
2007-10-16 15:29:39 +07:00
|
|
|
menuconfig DRM
|
2005-04-17 05:20:36 +07:00
|
|
|
tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
|
2017-01-04 16:12:57 +07:00
|
|
|
depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
|
2012-11-21 21:31:35 +07:00
|
|
|
select HDMI
|
2014-08-06 15:08:32 +07:00
|
|
|
select FB_CMDLINE
|
2008-12-13 15:21:08 +07:00
|
|
|
select I2C
|
|
|
|
select I2C_ALGOBIT
|
2011-11-25 22:21:02 +07:00
|
|
|
select DMA_SHARED_BUFFER
|
2016-11-15 20:06:39 +07:00
|
|
|
select SYNC_FILE
|
2005-04-17 05:20:36 +07:00
|
|
|
help
|
|
|
|
Kernel-level support for the Direct Rendering Infrastructure (DRI)
|
|
|
|
introduced in XFree86 4.0. If you say Y here, you need to select
|
|
|
|
the module that's right for your graphics card from the list below.
|
|
|
|
These modules provide support for synchronization, security, and
|
|
|
|
DMA transfers. Please see <http://dri.sourceforge.net/> for more
|
|
|
|
details. You should also select and configure AGP
|
2010-05-28 02:40:25 +07:00
|
|
|
(/dev/agpgart) support if it is available for your platform.
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2013-12-04 22:35:12 +07:00
|
|
|
config DRM_MIPI_DSI
|
|
|
|
bool
|
|
|
|
depends on DRM
|
|
|
|
|
2017-11-26 02:35:48 +07:00
|
|
|
config DRM_PANEL_ORIENTATION_QUIRKS
|
|
|
|
tristate
|
|
|
|
|
2016-01-22 06:10:19 +07:00
|
|
|
config DRM_DP_AUX_CHARDEV
|
|
|
|
bool "DRM DP AUX Interface"
|
|
|
|
depends on DRM
|
|
|
|
help
|
|
|
|
Choose this option to enable a /dev/drm_dp_auxN node that allows to
|
|
|
|
read and write values to arbitrary DPCD registers on the DP aux
|
|
|
|
channel.
|
|
|
|
|
2016-10-31 16:08:06 +07:00
|
|
|
config DRM_DEBUG_MM
|
|
|
|
bool "Insert extra checks and debug info into the DRM range managers"
|
|
|
|
default n
|
2016-11-08 20:19:17 +07:00
|
|
|
depends on DRM=y
|
2016-11-09 21:39:06 +07:00
|
|
|
depends on STACKTRACE_SUPPORT
|
2016-10-31 16:08:06 +07:00
|
|
|
select STACKDEPOT
|
|
|
|
help
|
|
|
|
Enable allocation tracking of memory manager and leak detection on
|
|
|
|
shutdown.
|
|
|
|
|
|
|
|
Recommended for driver developers only.
|
|
|
|
|
|
|
|
If in doubt, say "N".
|
|
|
|
|
2016-12-22 15:36:09 +07:00
|
|
|
config DRM_DEBUG_MM_SELFTEST
|
|
|
|
tristate "kselftests for DRM range manager (struct drm_mm)"
|
|
|
|
depends on DRM
|
|
|
|
depends on DEBUG_KERNEL
|
|
|
|
select PRIME_NUMBERS
|
|
|
|
select DRM_LIB_RANDOM
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option provides a kernel module that can be used to test
|
|
|
|
the DRM range manager (drm_mm) and its API. This option is not
|
|
|
|
useful for distributions or general kernels, but only for kernel
|
|
|
|
developers working on DRM and associated drivers.
|
|
|
|
|
|
|
|
If in doubt, say "N".
|
|
|
|
|
2009-09-08 08:08:32 +07:00
|
|
|
config DRM_KMS_HELPER
|
2009-09-07 12:45:33 +07:00
|
|
|
tristate
|
|
|
|
depends on DRM
|
2013-10-08 22:44:47 +07:00
|
|
|
help
|
|
|
|
CRTC helpers for KMS drivers.
|
|
|
|
|
|
|
|
config DRM_KMS_FB_HELPER
|
|
|
|
bool
|
|
|
|
depends on DRM_KMS_HELPER
|
2009-09-07 12:45:33 +07:00
|
|
|
select FB
|
2011-01-21 05:44:16 +07:00
|
|
|
select FRAMEBUFFER_CONSOLE if !EXPERT
|
2011-04-22 04:51:33 +07:00
|
|
|
select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
|
2015-07-31 17:51:41 +07:00
|
|
|
select FB_SYS_FOPS
|
2015-07-31 17:51:42 +07:00
|
|
|
select FB_SYS_FILLRECT
|
|
|
|
select FB_SYS_COPYAREA
|
|
|
|
select FB_SYS_IMAGEBLIT
|
|
|
|
select FB_CFB_FILLRECT
|
|
|
|
select FB_CFB_COPYAREA
|
|
|
|
select FB_CFB_IMAGEBLIT
|
2016-04-28 22:18:33 +07:00
|
|
|
select FB_DEFERRED_IO
|
2009-09-07 12:45:33 +07:00
|
|
|
help
|
2013-10-08 22:44:47 +07:00
|
|
|
FBDEV helpers for KMS drivers.
|
2009-09-07 12:45:33 +07:00
|
|
|
|
2015-08-05 13:58:57 +07:00
|
|
|
config DRM_FBDEV_EMULATION
|
|
|
|
bool "Enable legacy fbdev support for your modesetting driver"
|
|
|
|
depends on DRM
|
|
|
|
select DRM_KMS_HELPER
|
|
|
|
select DRM_KMS_FB_HELPER
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Choose this option if you have a need for the legacy fbdev
|
|
|
|
support. Note that this support also provides the linux console
|
|
|
|
support on top of your modesetting driver.
|
|
|
|
|
|
|
|
If in doubt, say "Y".
|
|
|
|
|
2017-02-15 23:19:08 +07:00
|
|
|
config DRM_FBDEV_OVERALLOC
|
|
|
|
int "Overallocation of the fbdev buffer"
|
|
|
|
depends on DRM_FBDEV_EMULATION
|
|
|
|
default 100
|
|
|
|
help
|
|
|
|
Defines the fbdev buffer overallocation in percent. Default
|
|
|
|
is 100. Typical values for double buffering will be 200,
|
|
|
|
triple buffering 300.
|
|
|
|
|
2012-03-19 04:37:33 +07:00
|
|
|
config DRM_LOAD_EDID_FIRMWARE
|
|
|
|
bool "Allow to specify an EDID data set instead of probing for it"
|
drm: handle override and firmware EDID at drm_do_get_edid() level
Handle debugfs override edid and firmware edid at the low level to
transparently and completely replace the real edid. Previously, we
practically only used the modes from the override EDID, and none of the
other data, such as audio parameters.
This change also prevents actual EDID reads when the EDID is to be
overridden, but retains the DDC probe. This is useful if the reason for
preferring override EDID are problems with reading the data, or
corruption of the data.
Move firmware EDID loading from helper to core, as the functionality
moves to lower level as well. This will result in a change of module
parameter from drm_kms_helper.edid_firmware to drm.edid_firmware, which
arguably makes more sense anyway.
Some future work remains related to override and firmware EDID
validation. Like before, no validation is done for override EDID. The
firmware EDID is validated separately in the loader. Some unification
and deduplication would be in order, to validate all of them at the
drm_do_get_edid() level, like "real" EDIDs.
v2: move firmware loading to core
v3: rebase, commit message refresh
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1e8a710bcac46e5136c1a7b430074893c81f364a.1505203831.git.jani.nikula@intel.com
2017-09-12 15:19:26 +07:00
|
|
|
depends on DRM
|
2012-03-19 04:37:33 +07:00
|
|
|
help
|
|
|
|
Say Y here, if you want to use EDID data to be loaded from the
|
|
|
|
/lib/firmware directory or one of the provided built-in
|
|
|
|
data sets. This may be necessary, if the graphics adapter or
|
|
|
|
monitor are unable to provide appropriate EDID data. Since this
|
|
|
|
feature is provided as a workaround for broken hardware, the
|
|
|
|
default case is N. Details and instructions how to build your own
|
|
|
|
EDID data are given in Documentation/EDID/HOWTO.txt.
|
|
|
|
|
2009-06-10 20:20:19 +07:00
|
|
|
config DRM_TTM
|
2009-06-05 19:42:42 +07:00
|
|
|
tristate
|
2017-01-04 16:12:57 +07:00
|
|
|
depends on DRM && MMU
|
2009-06-10 20:20:19 +07:00
|
|
|
help
|
|
|
|
GPU memory management subsystem for devices with multiple
|
|
|
|
GPU memory types. Will be enabled automatically if a device driver
|
|
|
|
uses it.
|
|
|
|
|
2012-06-27 20:30:18 +07:00
|
|
|
config DRM_GEM_CMA_HELPER
|
|
|
|
bool
|
2016-01-21 06:02:05 +07:00
|
|
|
depends on DRM
|
2012-06-27 20:30:18 +07:00
|
|
|
help
|
|
|
|
Choose this if you need the GEM CMA helper functions
|
|
|
|
|
2012-07-02 21:37:47 +07:00
|
|
|
config DRM_KMS_CMA_HELPER
|
|
|
|
bool
|
2016-01-21 06:02:05 +07:00
|
|
|
depends on DRM
|
2012-07-02 21:37:47 +07:00
|
|
|
select DRM_GEM_CMA_HELPER
|
2013-10-08 22:44:47 +07:00
|
|
|
select DRM_KMS_FB_HELPER
|
2012-07-02 21:37:47 +07:00
|
|
|
select FB_SYS_FILLRECT
|
|
|
|
select FB_SYS_COPYAREA
|
|
|
|
select FB_SYS_IMAGEBLIT
|
|
|
|
help
|
|
|
|
Choose this if you need the KMS CMA helper functions
|
|
|
|
|
2017-01-04 16:12:56 +07:00
|
|
|
config DRM_VM
|
|
|
|
bool
|
2017-01-12 15:57:36 +07:00
|
|
|
depends on DRM && MMU
|
2017-01-04 16:12:56 +07:00
|
|
|
|
2013-01-25 04:46:07 +07:00
|
|
|
source "drivers/gpu/drm/i2c/Kconfig"
|
|
|
|
|
2015-04-03 01:48:39 +07:00
|
|
|
source "drivers/gpu/drm/arm/Kconfig"
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config DRM_RADEON
|
|
|
|
tristate "ATI Radeon"
|
2017-01-07 18:39:11 +07:00
|
|
|
depends on DRM && PCI && MMU
|
2009-08-29 20:53:51 +07:00
|
|
|
select FW_LOADER
|
2009-09-08 08:09:50 +07:00
|
|
|
select DRM_KMS_HELPER
|
|
|
|
select DRM_TTM
|
2010-05-21 12:41:20 +07:00
|
|
|
select POWER_SUPPLY
|
2010-07-02 23:58:16 +07:00
|
|
|
select HWMON
|
2013-01-21 19:58:46 +07:00
|
|
|
select BACKLIGHT_CLASS_DEVICE
|
2015-08-14 17:50:11 +07:00
|
|
|
select BACKLIGHT_LCD_SUPPORT
|
2014-07-30 22:49:56 +07:00
|
|
|
select INTERVAL_TREE
|
2005-04-17 05:20:36 +07:00
|
|
|
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
|
2006-03-21 02:23:13 +07:00
|
|
|
run the Radeon in plain VGA mode.
|
2007-11-05 09:50:58 +07:00
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
If M is selected, the module will be called radeon.
|
|
|
|
|
2010-02-01 08:35:47 +07:00
|
|
|
source "drivers/gpu/drm/radeon/Kconfig"
|
|
|
|
|
2015-04-21 03:55:21 +07:00
|
|
|
config DRM_AMDGPU
|
|
|
|
tristate "AMD GPU"
|
2017-01-07 18:39:11 +07:00
|
|
|
depends on DRM && PCI && MMU
|
2015-04-21 03:55:21 +07:00
|
|
|
select FW_LOADER
|
|
|
|
select DRM_KMS_HELPER
|
|
|
|
select DRM_TTM
|
|
|
|
select POWER_SUPPLY
|
|
|
|
select HWMON
|
|
|
|
select BACKLIGHT_CLASS_DEVICE
|
2015-08-14 17:50:12 +07:00
|
|
|
select BACKLIGHT_LCD_SUPPORT
|
2015-04-21 03:55:21 +07:00
|
|
|
select INTERVAL_TREE
|
2017-08-26 13:43:06 +07:00
|
|
|
select CHASH
|
2015-04-21 03:55:21 +07:00
|
|
|
help
|
|
|
|
Choose this option if you have a recent AMD Radeon graphics card.
|
|
|
|
|
|
|
|
If M is selected, the module will be called amdgpu.
|
|
|
|
|
|
|
|
source "drivers/gpu/drm/amd/amdgpu/Kconfig"
|
2015-09-23 04:05:20 +07:00
|
|
|
|
2017-08-25 06:22:32 +07:00
|
|
|
source "drivers/gpu/drm/amd/lib/Kconfig"
|
|
|
|
|
2012-03-16 15:19:14 +07:00
|
|
|
source "drivers/gpu/drm/nouveau/Kconfig"
|
|
|
|
|
2013-10-09 14:18:51 +07:00
|
|
|
source "drivers/gpu/drm/i915/Kconfig"
|
2013-08-14 06:23:17 +07:00
|
|
|
|
2015-03-05 07:33:41 +07:00
|
|
|
config DRM_VGEM
|
|
|
|
tristate "Virtual GEM provider"
|
|
|
|
depends on DRM
|
|
|
|
help
|
|
|
|
Choose this option to get a virtual graphics memory manager,
|
|
|
|
as used by Mesa's software renderer for enhanced performance.
|
|
|
|
If M is selected the module will be called vgem.
|
|
|
|
|
|
|
|
|
2011-10-11 15:42:51 +07:00
|
|
|
source "drivers/gpu/drm/exynos/Kconfig"
|
|
|
|
|
2014-08-22 17:36:26 +07:00
|
|
|
source "drivers/gpu/drm/rockchip/Kconfig"
|
|
|
|
|
2011-10-11 15:42:51 +07:00
|
|
|
source "drivers/gpu/drm/vmwgfx/Kconfig"
|
2011-11-04 01:22:48 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/gma500/Kconfig"
|
|
|
|
|
2010-12-15 04:14:24 +07:00
|
|
|
source "drivers/gpu/drm/udl/Kconfig"
|
drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)
This is the initial driver for the Aspeed Technologies chips found in
servers. This driver supports the AST 2000, 2100, 2200, 2150 and 2300. It
doesn't support the AST11xx due to lack of hw to test it on, and them requiring
different codepaths.
This driver is intended to be used with xf86-video-modesetting in userspace.
This driver has a slightly different design than other KMS drivers, but
future server chips will probably share similiar setup. As these GPUs commonly
have low video RAM, it doesn't make sense to put the kms console in VRAM
always. This driver places the kms console into system RAM, and does dirty
updates to a copy in video RAM. When userspace sets a new scanout buffer,
it forcefully evicts the video RAM console, and X can create a framebuffer
that can use all of of video RAM.
This driver uses TTM but in a very simple fashion to control the eviction
to system RAM of the console, and multiple servers.
v2: add s/r support, fix Kconfig.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-29 20:40:04 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/ast/Kconfig"
|
|
|
|
|
2012-04-17 21:01:25 +07:00
|
|
|
source "drivers/gpu/drm/mgag200/Kconfig"
|
2012-04-17 20:12:29 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/cirrus/Kconfig"
|
2012-04-26 18:53:59 +07:00
|
|
|
|
2012-08-15 19:59:49 +07:00
|
|
|
source "drivers/gpu/drm/armada/Kconfig"
|
|
|
|
|
2015-01-06 17:13:28 +07:00
|
|
|
source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
|
|
|
|
|
2013-06-19 18:54:11 +07:00
|
|
|
source "drivers/gpu/drm/rcar-du/Kconfig"
|
|
|
|
|
2012-04-26 18:53:59 +07:00
|
|
|
source "drivers/gpu/drm/shmobile/Kconfig"
|
2012-11-16 04:28:22 +07:00
|
|
|
|
2015-10-29 15:36:23 +07:00
|
|
|
source "drivers/gpu/drm/sun4i/Kconfig"
|
|
|
|
|
2013-02-12 00:43:09 +07:00
|
|
|
source "drivers/gpu/drm/omapdrm/Kconfig"
|
2013-02-21 06:31:47 +07:00
|
|
|
|
2013-01-09 04:04:28 +07:00
|
|
|
source "drivers/gpu/drm/tilcdc/Kconfig"
|
drm: add new QXL driver. (v1.4)
QXL is a paravirtual graphics device used by the Spice virtual desktop
interface.
The drivers uses GEM and TTM to manage memory, the qxl hw fencing however
is quite different than normal TTM expects, we have to keep track of a number
of non-linear fence ids per bo that we need to have released by the hardware.
The releases are freed from a workqueue that wakes up and processes the
release ring.
releases are suballocated from a BO, there are 3 release categories, drawables,
surfaces and cursor cmds. The hw also has 3 rings for commands, cursor and release handling.
The hardware also have a surface id tracking mechnaism and the driver encapsulates it completely inside the kernel, userspace never sees the actual hw surface
ids.
This requires a newer version of the QXL userspace driver, so shouldn't be
enabled until that has been placed into your distro of choice.
Authors: Dave Airlie, Alon Levy
v1.1: fixup some issues in the ioctl interface with padding
v1.2: add module device table
v1.3: fix nomodeset, fbcon leak, dumb bo create, release ring irq,
don't try flush release ring (broken hw), fix -modesetting.
v1.4: fbcon cpu usage reduction + suitable accel flags.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-02-25 11:47:55 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/qxl/Kconfig"
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-26 23:44:06 +07:00
|
|
|
|
2013-12-18 00:04:46 +07:00
|
|
|
source "drivers/gpu/drm/bochs/Kconfig"
|
|
|
|
|
2013-09-09 07:02:56 +07:00
|
|
|
source "drivers/gpu/drm/virtio/Kconfig"
|
|
|
|
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-26 23:44:06 +07:00
|
|
|
source "drivers/gpu/drm/msm/Kconfig"
|
2013-10-09 15:32:49 +07:00
|
|
|
|
2015-08-20 09:19:49 +07:00
|
|
|
source "drivers/gpu/drm/fsl-dcu/Kconfig"
|
|
|
|
|
2013-10-09 15:32:49 +07:00
|
|
|
source "drivers/gpu/drm/tegra/Kconfig"
|
2013-08-30 18:36:43 +07:00
|
|
|
|
2017-04-14 17:13:34 +07:00
|
|
|
source "drivers/gpu/drm/stm/Kconfig"
|
|
|
|
|
2013-08-30 18:36:43 +07:00
|
|
|
source "drivers/gpu/drm/panel/Kconfig"
|
2014-07-30 23:20:56 +07:00
|
|
|
|
2015-07-21 22:01:19 +07:00
|
|
|
source "drivers/gpu/drm/bridge/Kconfig"
|
|
|
|
|
2014-07-30 23:20:56 +07:00
|
|
|
source "drivers/gpu/drm/sti/Kconfig"
|
2014-07-17 01:08:55 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/amd/amdkfd/Kconfig"
|
2014-11-24 22:33:34 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/imx/Kconfig"
|
2015-03-03 04:01:12 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/vc4/Kconfig"
|
2015-12-04 00:21:29 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/etnaviv/Kconfig"
|
2016-02-19 19:30:26 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/arc/Kconfig"
|
2015-10-09 17:00:56 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/hisilicon/Kconfig"
|
2016-01-05 00:36:34 +07:00
|
|
|
|
|
|
|
source "drivers/gpu/drm/mediatek/Kconfig"
|
2016-08-04 15:06:56 +07:00
|
|
|
|
2016-09-22 18:52:39 +07:00
|
|
|
source "drivers/gpu/drm/zte/Kconfig"
|
|
|
|
|
2016-08-19 01:23:01 +07:00
|
|
|
source "drivers/gpu/drm/mxsfb/Kconfig"
|
|
|
|
|
2016-11-10 21:29:37 +07:00
|
|
|
source "drivers/gpu/drm/meson/Kconfig"
|
|
|
|
|
2017-01-22 06:15:00 +07:00
|
|
|
source "drivers/gpu/drm/tinydrm/Kconfig"
|
|
|
|
|
drm/pl111: Initial drm/kms driver for pl111
This is a modesetting driver for the pl111 CLCD display controller
found on various ARM platforms such as the Versatile Express. The
driver has only been tested on the bcm911360_entphn platform so far,
with PRIME-based buffer sharing between vc4 and clcd.
It reuses the existing devicetree binding, while not using quite as
many of its properties as the fbdev driver does (those are left for
future work).
v2: Nearly complete rewrite by anholt, cutting 2/3 of the code thanks
to DRM core's excellent new helpers.
v3: Don't match pl110 any more, don't attach if we don't have a DRM
panel, use DRM_GEM_CMA_FOPS, update MAINTAINERS, use the simple
display helper, use drm_gem_cma_dumb_create (same as our wrapper).
v4: Change the driver's .name to not clash with fbdev in sysfs, drop
platform alias, drop redundant "drm" in DRM driver name, hook up
.prepare_fb to the CMA helper so that DMA fences should work.
v5: Move register definitions inside the driver directory, fix build
in COMPILE_TEST and !AMBA mode.
v6: Drop TIM2_CLKSEL for now to be consistent with existing DT
bindings, switch back to external register definitions.
Signed-off-by: Tom Cooksey <tom.cooksey@arm.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (v5)
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170413031746.12921-2-eric@anholt.net
2017-04-13 10:17:46 +07:00
|
|
|
source "drivers/gpu/drm/pl111/Kconfig"
|
|
|
|
|
2017-08-20 17:05:55 +07:00
|
|
|
source "drivers/gpu/drm/tve200/Kconfig"
|
|
|
|
|
2016-08-04 15:06:56 +07:00
|
|
|
# Keep legacy drivers last
|
|
|
|
|
|
|
|
menuconfig DRM_LEGACY
|
|
|
|
bool "Enable legacy drivers (DANGEROUS)"
|
2017-01-12 15:57:36 +07:00
|
|
|
depends on DRM && MMU
|
2017-01-04 16:12:56 +07:00
|
|
|
select DRM_VM
|
2016-08-04 15:06:56 +07:00
|
|
|
help
|
|
|
|
Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
|
|
|
|
APIs to user-space, which can be used to circumvent access
|
|
|
|
restrictions and other security measures. For backwards compatibility
|
|
|
|
those drivers are still available, but their use is highly
|
|
|
|
inadvisable and might harm your system.
|
|
|
|
|
|
|
|
You are recommended to use the safe modeset-only drivers instead, and
|
|
|
|
perform 3D emulation in user-space.
|
|
|
|
|
|
|
|
Unless you have strong reasons to go rogue, say "N".
|
|
|
|
|
|
|
|
if DRM_LEGACY
|
|
|
|
|
|
|
|
config DRM_TDFX
|
|
|
|
tristate "3dfx Banshee/Voodoo3+"
|
|
|
|
depends on DRM && PCI
|
|
|
|
help
|
|
|
|
Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
|
|
|
|
graphics card. If M is selected, the module will be called tdfx.
|
|
|
|
|
|
|
|
config DRM_R128
|
|
|
|
tristate "ATI Rage 128"
|
|
|
|
depends on DRM && PCI
|
|
|
|
select FW_LOADER
|
|
|
|
help
|
|
|
|
Choose this option if you have an ATI Rage 128 graphics card. If M
|
|
|
|
is selected, the module will be called r128. AGP support for
|
|
|
|
this card is strongly suggested (unless you have a PCI version).
|
|
|
|
|
|
|
|
config DRM_I810
|
|
|
|
tristate "Intel I810"
|
|
|
|
# !PREEMPT because of missing ioctl locking
|
|
|
|
depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
|
|
|
|
help
|
|
|
|
Choose this option if you have an Intel I810 graphics card. If M is
|
|
|
|
selected, the module will be called i810. AGP support is required
|
|
|
|
for this driver to work.
|
|
|
|
|
|
|
|
config DRM_MGA
|
|
|
|
tristate "Matrox g200/g400"
|
|
|
|
depends on DRM && PCI
|
|
|
|
select FW_LOADER
|
|
|
|
help
|
|
|
|
Choose this option if you have a Matrox G200, G400 or G450 graphics
|
|
|
|
card. If M is selected, the module will be called mga. AGP
|
|
|
|
support is required for this driver to work.
|
|
|
|
|
|
|
|
config DRM_SIS
|
|
|
|
tristate "SiS video cards"
|
|
|
|
depends on DRM && AGP
|
|
|
|
depends on FB_SIS || FB_SIS=n
|
|
|
|
help
|
|
|
|
Choose this option if you have a SiS 630 or compatible video
|
|
|
|
chipset. If M is selected the module will be called sis. AGP
|
|
|
|
support is required for this driver to work.
|
|
|
|
|
|
|
|
config DRM_VIA
|
|
|
|
tristate "Via unichrome video cards"
|
|
|
|
depends on DRM && PCI
|
|
|
|
help
|
|
|
|
Choose this option if you have a Via unichrome or compatible video
|
|
|
|
chipset. If M is selected the module will be called via.
|
|
|
|
|
|
|
|
config DRM_SAVAGE
|
|
|
|
tristate "Savage video cards"
|
|
|
|
depends on DRM && PCI
|
|
|
|
help
|
|
|
|
Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
|
|
|
|
chipset. If M is selected the module will be called savage.
|
|
|
|
|
|
|
|
endif # DRM_LEGACY
|
2016-12-22 15:36:08 +07:00
|
|
|
|
|
|
|
config DRM_LIB_RANDOM
|
|
|
|
bool
|
|
|
|
default n
|