Merge 4.19.189 into android-4.19-stable
Linux 4.19.189
USB: CDC-ACM: fix poison/unpoison imbalance
net: hso: fix NULL-deref on disconnect regression
x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
ia64: tools: remove duplicate definition of ia64_mf() on ia64
ia64: fix discontig.c section mismatches
cavium/liquidio: Fix duplicate argument
xen-netback: Check for hotplug-status existence before watching
s390/entry: save the caller of psw_idle
net: geneve: check skb is large enough for IPv4/IPv6 header
ARM: dts: Fix swapped mmc order for omap3
HID: wacom: Assign boolean values to a bool variable
HID: alps: fix error return code in alps_input_configured()
* HID: google: add don USB id
drivers/hid/hid-ids.h
perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
* locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
kernel/locking/qrwlock.c
pinctrl: lewisburg: Update number of pins in community
* gup: document and work around "COW can break either way" issue
mm/gup.c
* net: phy: marvell: fix detection of PHY on Topaz switches
include/linux/marvell_phy.h
ARM: 9071/1: uprobes: Don't hook on thumb instructions
ARM: footbridge: fix PCI interrupt mapping
ibmvnic: remove duplicate napi_schedule call in open function
ibmvnic: remove duplicate napi_schedule call in do_reset function
ibmvnic: avoid calling napi_disable() twice
i40e: fix the panic when running bpf in xdpdrv mode
* net: ip6_tunnel: Unregister catch-all devices
net/ipv6/ip6_tunnel.c
* net: sit: Unregister catch-all devices
net/ipv6/sit.c
net: davicom: Fix regulator not turned off on failed probe
netfilter: nft_limit: avoid possible divide error in nft_limit_init
* netfilter: conntrack: do not print icmpv6 as unknown via /proc
net/netfilter/nf_conntrack_standalone.c
scsi: libsas: Reset num_scatter if libata marks qc as NODATA
* arm64: alternatives: Move length validation in alternative_{insn, endif}
arch/arm64/include/asm/alternative.h
* arm64: fix inline asm in load_unaligned_zeropad()
arch/arm64/include/asm/word-at-a-time.h
* readdir: make sure to verify directory entry for legacy interfaces too
fs/readdir.c
* dm verity fec: fix misaligned RS roots IO
drivers/md/dm-verity-fec.c
drivers/md/dm-verity-fec.h
HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
Input: i8042 - fix Pegatron C15B ID entry
Input: s6sy761 - fix coordinate read bit shift
mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
pcnet32: Use pci_resource_len to validate PCI resource
net: ieee802154: forbid monitor for add llsec seclevel
net: ieee802154: stop dump llsec seclevels for monitors
net: ieee802154: forbid monitor for add llsec devkey
net: ieee802154: stop dump llsec devkeys for monitors
net: ieee802154: forbid monitor for add llsec dev
net: ieee802154: stop dump llsec devs for monitors
net: ieee802154: stop dump llsec keys for monitors
scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
ASoC: fsl_esai: Fix TDM slot setup for I2S mode
drm/msm: Fix a5xx/a6xx timestamps
ARM: keystone: fix integer overflow warning
* neighbour: Disregard DEAD dst in neigh_update
net/core/neighbour.c
arc: kernel: Return -EFAULT if copy_to_user() fails
lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
* dmaengine: dw: Make it dependent to HAS_IOMEM
drivers/dma/dw/Kconfig
* gpio: sysfs: Obey valid_mask
drivers/gpio/gpiolib-sysfs.c
Input: nspire-keypad - enable interrupts only when opened
* net/sctp: fix race condition in sctp_destroy_sock
net/sctp/socket.c
ANDROID: GKI: update allowed list for incrementalfs.ko
* ANDROID: fs-verity: Export function to check signatures
fs/verity/signature.c
include/linux/fsverity.h
* UPSTREAM: fs-verity: move structs needed for file signing to UAPI header
fs/verity/fsverity_private.h
include/uapi/linux/fsverity.h
* UPSTREAM: fs-verity: rename "file measurement" to "file digest"
fs/verity/enable.c
fs/verity/fsverity_private.h
fs/verity/measure.c
fs/verity/open.c
fs/verity/signature.c
* UPSTREAM: fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest
fs/verity/fsverity_private.h
fs/verity/signature.c
* UPSTREAM: fs-verity: remove filenames from file comments
fs/verity/enable.c
fs/verity/hash_algs.c
fs/verity/init.c
fs/verity/measure.c
fs/verity/open.c
fs/verity/signature.c
fs/verity/verify.c
ANDROID: clang: update to 12.0.5
Merge 4.19.188 into android-4.19-stable
Linux 4.19.188
xen/events: fix setting irq affinity
perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
* driver core: Fix locking bug in deferred_probe_timeout_work_func()
drivers/base/dd.c
* netfilter: x_tables: fix compat match/target pad out-of-bound write
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/netfilter/x_tables.c
* staging: m57621-mmc: delete driver from the tree.
drivers/staging/Kconfig
drivers/staging/Makefile
net: phy: broadcom: Only advertise EEE for supported modes
riscv,entry: fix misaligned base for excp_vect_table
* block: only update parent bi_status when bio fail
block/bio.c
drm/tegra: dc: Don't set PLL clock to 0Hz
gfs2: report "already frozen/thawed" errors
drm/imx: imx-ldb: fix out of bounds array access warning
* KVM: arm64: Disable guest access to trace filter controls
arch/arm64/include/asm/kvm_arm.h
* KVM: arm64: Hide system instruction access to Trace registers
arch/arm64/kernel/cpufeature.c
* Revert "net: xfrm: Localize sequence counter per network namespace"
include/net/netns/xfrm.h
net/xfrm/xfrm_state.c
Merge 4.19.187 into android-4.19-stable
* ANDROID: Incremental fs: Set credentials before reading/writing
fs/incfs/data_mgmt.c
fs/incfs/format.c
fs/incfs/format.h
fs/incfs/main.c
fs/incfs/vfs.c
Linux 4.19.187
Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath."
net: ieee802154: stop dump llsec params for monitors
net: ieee802154: forbid monitor for del llsec seclevel
net: ieee802154: forbid monitor for set llsec params
net: ieee802154: fix nl802154 del llsec devkey
net: ieee802154: fix nl802154 add llsec key
net: ieee802154: fix nl802154 del llsec dev
net: ieee802154: fix nl802154 del llsec key
net: ieee802154: nl-mac: fix check on panid
net: mac802154: Fix general protection fault
drivers: net: fix memory leak in peak_usb_create_dev
drivers: net: fix memory leak in atusb_probe
* net: tun: set tun->dev->addr_len during TUNSETLINK processing
drivers/net/tun.c
* cfg80211: remove WARN_ON() in cfg80211_sme_connect
net/wireless/sme.c
* net: sched: bump refcount for new action in ACT replace mode
net/sched/act_api.c
clk: socfpga: fix iomem pointer cast on 64-bit
RDMA/cxgb4: check for ipv6 address properly while destroying listener
* net/mlx5: Fix PBMC register mapping
include/linux/mlx5/mlx5_ifc.h
* net/mlx5: Fix placement of log_max_flow_counter
include/linux/mlx5/mlx5_ifc.h
s390/cpcmd: fix inline assembly register clobbering
* workqueue: Move the position of debug_work_activate() in __queue_work()
kernel/workqueue.c
* clk: fix invalid usage of list cursor in unregister
drivers/clk/clk.c
* clk: fix invalid usage of list cursor in register
drivers/clk/clk.c
soc/fsl: qbman: fix conflicting alignment attributes
ASoC: sunxi: sun4i-codec: fill ASoC card owner
net/ncsi: Avoid channel_monitor hrtimer deadlock
ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
* net:tipc: Fix a double free in tipc_sk_mcast_rcv
net/tipc/socket.c
cxgb4: avoid collecting SGE_QBASE regs during traffic
gianfar: Handle error code at MAC address change
* sch_red: fix off-by-one checks in red_check_params()
include/net/red.h
amd-xgbe: Update DMA coherency values
i40e: Fix kernel oops when i40e driver removes VF's
i40e: Added Asym_Pause to supported link modes
ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
* net: xfrm: Localize sequence counter per network namespace
include/net/netns/xfrm.h
net/xfrm/xfrm_state.c
regulator: bd9571mwv: Fix AVS and DVFS voltage range
* xfrm: interface: fix ipv4 pmtu check to honor ip header df
net/xfrm/xfrm_interface.c
virtio_net: Add XDP meta data support
* i2c: turn recovery error on init to debug
drivers/i2c/i2c-core-base.c
usbip: synchronize event handler with sysfs code paths
usbip: vudc synchronize sysfs code paths
usbip: stub-dev synchronize sysfs code paths
usbip: add sysfs_lock to synchronize sysfs code paths
* net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
net/ipv6/raw.c
net/sctp/ipv6.c
net: sched: sch_teql: fix null-pointer dereference
* net: ensure mac header is set in virtio_net_hdr_to_skb()
include/linux/virtio_net.h
net: hso: fix null-ptr-deref during tty device unregistration
ice: Increase control queue timeout
batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
* parisc: parisc-agp requires SBA IOMMU driver
drivers/char/agp/Kconfig
* fs: direct-io: fix missing sdio->boundary
fs/direct-io.c
ocfs2: fix deadlock between setattr and dio_end_io_write
nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
ia64: fix user_stack_pointer() for ptrace()
* net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
net/ipv6/route.c
xen/evtchn: Change irq_info lock to raw_spinlock_t
nfc: Avoid endless loops caused by repeated llcp_sock_connect()
nfc: fix memory leak in llcp_sock_connect()
nfc: fix refcount leak in llcp_sock_connect()
nfc: fix refcount leak in llcp_sock_bind()
ASoC: intel: atom: Stop advertising non working S24LE support
ALSA: aloop: Fix initialization of controls
Merge 4.19.186 into android-4.19-stable
Linux 4.19.186
* init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
init/Kconfig
* init/Kconfig: make COMPILE_TEST depend on !S390
init/Kconfig
bpf, x86: Validate computation of branch displacements for x86-32
bpf, x86: Validate computation of branch displacements for x86-64
cifs: Silently ignore unknown oplock break handle
cifs: revalidate mapping when we open files for SMB1 POSIX
ia64: fix format strings for err_inject
ia64: mca: allocate early mca with GFP_ATOMIC
scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
x86/build: Turn off -fcf-protection for realmode targets
platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
drm/msm: Ratelimit invalid-fence message
mac80211: choose first enabled channel for monitor
mISDN: fix crash in fritzpci
net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
bus: ti-sysc: Fix warning on unbind if reset is not deasserted
ARM: dts: am33xx: add aliases for mmc interfaces
Merge 4.19.185 into android-4.19-stable
Linux 4.19.185
drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
staging: rtl8192e: Change state information from u16 to u8
staging: rtl8192e: Fix incorrect source in memcpy()
usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
USB: cdc-acm: fix use-after-free after probe failure
USB: cdc-acm: fix double free on probe failure
USB: cdc-acm: downgrade message to debug
USB: cdc-acm: untangle a circular dependency between callback and softint
cdc-acm: fix BREAK rx code path adding necessary calls
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
usb: musb: Fix suspend with devices connected for a64
* USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
drivers/usb/core/quirks.c
usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
* extcon: Fix error handling in extcon_dev_register
drivers/extcon/extcon.c
* extcon: Add stubs for extcon_register_notifier_all() functions
include/linux/extcon.h
pinctrl: rockchip: fix restore error in resume
reiserfs: update reiserfs_xattrs_initialized() condition
drm/amdgpu: check alignment on CPU page for bo map
drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
* mm: fix race by making init_zero_pfn() early_initcall
mm/memory.c
* tracing: Fix stack trace event size
kernel/trace/trace.c
* PM: runtime: Fix ordering in pm_runtime_get_suppliers()
drivers/base/power/runtime.c
* PM: runtime: Fix race getting/putting suppliers at probe
drivers/base/power/runtime.c
ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
* ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
sound/usb/quirks.c
* bpf: Remove MTU check in __bpf_skb_max_len
net/core/filter.c
net: wan/lmc: unregister device when no matching device is found
appletalk: Fix skb allocation size in loopback case
net: ethernet: aquantia: Handle error cleanup of start on open
ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
brcmfmac: clear EAP/association status bits on linkdown events
* ext4: do not iput inode under running transaction in ext4_rename()
fs/ext4/namei.c
* locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
kernel/locking/mutex.c
* thermal/core: Add NULL pointer check before using cooling device stats
drivers/thermal/thermal_sysfs.c
ASoC: rt5659: Update MCLK rate in set_sysclk()
staging: comedi: cb_pcidas64: fix request_irq() warn
staging: comedi: cb_pcidas: fix request_irq() warn
scsi: qla2xxx: Fix broken #endif placement
scsi: st: Fix a use after free in st_open()
vhost: Fix vhost_vq_reset()
ASoC: cs42l42: Always wait at least 3ms after reset
ASoC: cs42l42: Fix mixer volume control
ASoC: cs42l42: Fix channel width support
ASoC: cs42l42: Fix Bitclock polarity inversion
ASoC: es8316: Simplify adc_pga_gain_tlv table
ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
rpc: fix NULL dereference on kmalloc failure
* ext4: fix bh ref count on error paths
fs/ext4/inode.c
* ipv6: weaken the v4mapped source check
net/ipv6/ip6_input.c
net/ipv6/tcp_ipv6.c
* tcp: relookup sock for RST+ACK packets handled by obsolete req sock
include/net/inet_connection_sock.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_minisocks.c
selinux: vsock: Set SID for socket returned by accept()
* Revert "can: dev: Move device back to init netns on owning netns delete"
include/net/rtnetlink.h
net/core/dev.c
Merge 4.19.184 into android-4.19-stable
ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS
BACKPORT: drm/virtio: Use vmalloc for command buffer allocations.
UPSTREAM: drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.
Linux 4.19.184
xen-blkback: don't leak persistent grants from xen_blkbk_map()
can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
* ext4: add reclaim checks to xattr code
fs/ext4/xattr.c
mac80211: fix double free in ibss_leave
* net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
net/qrtr/qrtr.c
* net: sched: validate stab values
include/net/red.h
* can: dev: Move device back to init netns on owning netns delete
include/net/rtnetlink.h
net/core/dev.c
x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
* locking/mutex: Fix non debug version of mutex_lock_io_nested()
include/linux/mutex.h
scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
scsi: qedi: Fix error return code of qedi_alloc_global_queues()
perf auxtrace: Fix auxtrace queue conflict
* dm verity: add root hash pkcs#7 signature verification
drivers/md/dm-verity-target.c
* ACPI: scan: Use unique number for instance_no
include/acpi/acpi_bus.h
ACPI: scan: Rearrange memory allocation in acpi_device_add()
* Revert "netfilter: x_tables: Update remaining dereference to RCU"
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
* netfilter: x_tables: Use correct memory barriers.
include/linux/netfilter/x_tables.h
net/netfilter/x_tables.c
* Revert "netfilter: x_tables: Switch synchronization to RCU"
include/linux/netfilter/x_tables.h
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/netfilter/x_tables.c
* bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
include/linux/bpf.h
RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
net/mlx5e: Fix error path for ethtool set-priv-flag
arm64: kdump: update ppos when reading elfcorehdr
drm/msm: fix shutdown hook in case GPU components failed to bind
net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
net: cdc-phonet: fix data-interface release on probe failure
mac80211: fix rate mask reset
can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
can: c_can: move runtime PM enable/disable to c_can_platform
can: c_can_pci: c_can_pci_remove(): fix use-after-free
can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
can: peak_usb: add forgotten supported devices
* netfilter: ctnetlink: fix dump of the expect mask attribute
net/netfilter/nf_conntrack_netlink.c
ftgmac100: Restart MAC HW once
net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
e1000e: add rtnl_lock() to e1000_reset_task
net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
* macvlan: macvlan_count_rx() needs to be aware of preemption
include/linux/if_macvlan.h
libbpf: Fix INSTALL flag order
* veth: Store queue_mapping independently of XDP prog presence
drivers/net/veth.c
bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
* dm ioctl: fix out of bounds array access when no devices
drivers/md/dm-ioctl.c
ARM: dts: at91-sama5d27_som1: fix phy address to 7
arm64: dts: ls1043a: mark crypto engine dma coherent
arm64: dts: ls1012a: mark crypto engine dma coherent
arm64: dts: ls1046a: mark crypto engine dma coherent
squashfs: fix xattr id and id lookup sanity checks
* squashfs: fix inode lookup sanity checks
fs/squashfs/squashfs_fs.h
platform/x86: intel-vbtn: Stop reporting SW_DOCK events
netsec: restore phy power state after controller reset
ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
* block: Suppress uevent for hidden device when removed
block/genhd.c
nfs: we don't support removing system.nfs4_acl
* drm/radeon: fix AGP dependency
drivers/gpu/drm/Kconfig
* u64_stats,lockdep: Fix u64_stats_init() vs lockdep
include/linux/u64_stats_sync.h
sparc64: Fix opcode filtering in handling of no fault loads
atm: idt77252: fix null-ptr-dereference
atm: uPD98402: fix incorrect allocation
net: wan: fix error return code of uhdlc_init()
net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
NFS: Correct size calculation for create reply length
* nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
fs/nfs/Kconfig
gpiolib: acpi: Add missing IRQF_ONESHOT
gianfar: fix jumbo packets+napi+rx overrun crash
sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
net: tehuti: fix error return code in bdx_probe()
ixgbe: Fix memleak in ixgbe_configure_clsu32
* Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
drivers/net/usb/r8152.c
atm: lanai: dont run lanai_dev_close if not open
atm: eni: dont release is never initialized
powerpc/4xx: Fix build errors from mfdcr()
net: fec: ptp: avoid register access when ipg clock is disabled
* ANDROID: Make vsock virtio packet buff size configurable
include/linux/virtio_vsock.h
* ANDROID: fix up ext4 build from 4.19.183
fs/ext4/namei.c
Bug: 187007303
Change-Id: I7bd7cc06a4928013a8ef194a55aadbb59ff0c6c1
Signed-off-by: Lucas Wei <lucaswei@google.com>
425 lines
11 KiB
Plaintext
425 lines
11 KiB
Plaintext
#
|
|
# Drm device configuration
|
|
#
|
|
# This driver provides support for the
|
|
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
|
#
|
|
menuconfig DRM
|
|
tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
|
|
depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && HAS_DMA
|
|
select DRM_PANEL_ORIENTATION_QUIRKS
|
|
select HDMI
|
|
select FB_CMDLINE
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
select DMA_SHARED_BUFFER
|
|
select SYNC_FILE
|
|
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
|
|
(/dev/agpgart) support if it is available for your platform.
|
|
|
|
config DRM_MIPI_DSI
|
|
bool
|
|
default y if DRM
|
|
|
|
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.
|
|
|
|
config DRM_DEBUG_MM
|
|
bool "Insert extra checks and debug info into the DRM range managers"
|
|
default n
|
|
depends on DRM=y
|
|
depends on STACKTRACE_SUPPORT
|
|
select STACKDEPOT
|
|
help
|
|
Enable allocation tracking of memory manager and leak detection on
|
|
shutdown.
|
|
|
|
Recommended for driver developers only.
|
|
|
|
If in doubt, say "N".
|
|
|
|
config DRM_DEBUG_SELFTEST
|
|
tristate "kselftests for DRM"
|
|
depends on DRM
|
|
depends on DEBUG_KERNEL
|
|
select PRIME_NUMBERS
|
|
select DRM_LIB_RANDOM
|
|
select DRM_KMS_HELPER
|
|
default n
|
|
help
|
|
This option provides kernel modules that can be used to run
|
|
various selftests on parts of the DRM 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".
|
|
|
|
config DRM_KMS_HELPER
|
|
tristate
|
|
default y if DRM
|
|
help
|
|
CRTC helpers for KMS drivers.
|
|
|
|
config DRM_KMS_FB_HELPER
|
|
bool
|
|
depends on DRM_KMS_HELPER
|
|
select FB
|
|
select FRAMEBUFFER_CONSOLE if !EXPERT
|
|
select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
|
|
select FB_SYS_FOPS
|
|
select FB_SYS_FILLRECT
|
|
select FB_SYS_COPYAREA
|
|
select FB_SYS_IMAGEBLIT
|
|
select FB_CFB_FILLRECT
|
|
select FB_CFB_COPYAREA
|
|
select FB_CFB_IMAGEBLIT
|
|
select FB_DEFERRED_IO
|
|
help
|
|
FBDEV helpers for KMS drivers.
|
|
|
|
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 n
|
|
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".
|
|
|
|
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.
|
|
|
|
config DRM_FBDEV_LEAK_PHYS_SMEM
|
|
bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
|
|
depends on DRM_FBDEV_EMULATION && EXPERT
|
|
default n
|
|
help
|
|
In order to keep user-space compatibility, we want in certain
|
|
use-cases to keep leaking the fbdev physical address to the
|
|
user-space program handling the fbdev buffer.
|
|
This affects, not only, Amlogic, Allwinner or Rockchip devices
|
|
with ARM Mali GPUs using an userspace Blob.
|
|
This option is not supported by upstream developers and should be
|
|
removed as soon as possible and be considered as a broken and
|
|
legacy behaviour from a modern fbdev device driver.
|
|
|
|
Please send any bug reports when using this to your proprietary
|
|
software vendor that requires this.
|
|
|
|
If in doubt, say "N" or spread the word to your closed source
|
|
library vendor.
|
|
|
|
config DRM_LOAD_EDID_FIRMWARE
|
|
bool "Allow to specify an EDID data set instead of probing for it"
|
|
depends on DRM
|
|
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.
|
|
|
|
config DRM_DP_CEC
|
|
bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
|
|
select CEC_CORE
|
|
help
|
|
Choose this option if you want to enable HDMI CEC support for
|
|
DisplayPort/USB-C to HDMI adapters.
|
|
|
|
Note: not all adapters support this feature, and even for those
|
|
that do support this they often do not hook up the CEC pin.
|
|
|
|
config DRM_TTM
|
|
tristate
|
|
depends on DRM && MMU
|
|
help
|
|
GPU memory management subsystem for devices with multiple
|
|
GPU memory types. Will be enabled automatically if a device driver
|
|
uses it.
|
|
|
|
config DRM_GEM_CMA_HELPER
|
|
bool
|
|
depends on DRM
|
|
help
|
|
Choose this if you need the GEM CMA helper functions
|
|
|
|
config DRM_KMS_CMA_HELPER
|
|
bool
|
|
depends on DRM
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select FB_SYS_FILLRECT
|
|
select FB_SYS_COPYAREA
|
|
select FB_SYS_IMAGEBLIT
|
|
help
|
|
Choose this if you need the KMS CMA helper functions
|
|
|
|
config DRM_VM
|
|
bool
|
|
depends on DRM && MMU
|
|
|
|
config DRM_SCHED
|
|
tristate
|
|
depends on DRM
|
|
|
|
source "drivers/gpu/drm/i2c/Kconfig"
|
|
|
|
source "drivers/gpu/drm/arm/Kconfig"
|
|
|
|
config DRM_RADEON
|
|
tristate "ATI Radeon"
|
|
depends on DRM && PCI && MMU
|
|
depends on AGP || !AGP
|
|
select FW_LOADER
|
|
select DRM_KMS_HELPER
|
|
select DRM_TTM
|
|
select POWER_SUPPLY
|
|
select HWMON
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
select BACKLIGHT_LCD_SUPPORT
|
|
select INTERVAL_TREE
|
|
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.
|
|
|
|
source "drivers/gpu/drm/radeon/Kconfig"
|
|
|
|
config DRM_AMDGPU
|
|
tristate "AMD GPU"
|
|
depends on DRM && PCI && MMU
|
|
select FW_LOADER
|
|
select DRM_KMS_HELPER
|
|
select DRM_SCHED
|
|
select DRM_TTM
|
|
select POWER_SUPPLY
|
|
select HWMON
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
select BACKLIGHT_LCD_SUPPORT
|
|
select INTERVAL_TREE
|
|
select CHASH
|
|
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"
|
|
|
|
source "drivers/gpu/drm/amd/lib/Kconfig"
|
|
|
|
source "drivers/gpu/drm/nouveau/Kconfig"
|
|
|
|
source "drivers/gpu/drm/i915/Kconfig"
|
|
|
|
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.
|
|
|
|
config DRM_VKMS
|
|
tristate "Virtual KMS (EXPERIMENTAL)"
|
|
depends on DRM
|
|
select DRM_KMS_HELPER
|
|
default n
|
|
help
|
|
Virtual Kernel Mode-Setting (VKMS) is used for testing or for
|
|
running GPU in a headless machines. Choose this option to get
|
|
a VKMS.
|
|
|
|
If M is selected the module will be called vkms.
|
|
|
|
source "drivers/gpu/drm/exynos/Kconfig"
|
|
|
|
source "drivers/gpu/drm/rockchip/Kconfig"
|
|
|
|
source "drivers/gpu/drm/vmwgfx/Kconfig"
|
|
|
|
source "drivers/gpu/drm/gma500/Kconfig"
|
|
|
|
source "drivers/gpu/drm/udl/Kconfig"
|
|
|
|
source "drivers/gpu/drm/ast/Kconfig"
|
|
|
|
source "drivers/gpu/drm/mgag200/Kconfig"
|
|
|
|
source "drivers/gpu/drm/cirrus/Kconfig"
|
|
|
|
source "drivers/gpu/drm/armada/Kconfig"
|
|
|
|
source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
|
|
|
|
source "drivers/gpu/drm/rcar-du/Kconfig"
|
|
|
|
source "drivers/gpu/drm/shmobile/Kconfig"
|
|
|
|
source "drivers/gpu/drm/sun4i/Kconfig"
|
|
|
|
source "drivers/gpu/drm/omapdrm/Kconfig"
|
|
|
|
source "drivers/gpu/drm/tilcdc/Kconfig"
|
|
|
|
source "drivers/gpu/drm/qxl/Kconfig"
|
|
|
|
source "drivers/gpu/drm/bochs/Kconfig"
|
|
|
|
source "drivers/gpu/drm/virtio/Kconfig"
|
|
|
|
source "drivers/gpu/drm/msm/Kconfig"
|
|
|
|
source "drivers/gpu/drm/fsl-dcu/Kconfig"
|
|
|
|
source "drivers/gpu/drm/tegra/Kconfig"
|
|
|
|
source "drivers/gpu/drm/stm/Kconfig"
|
|
|
|
source "drivers/gpu/drm/panel/Kconfig"
|
|
|
|
source "drivers/gpu/drm/bridge/Kconfig"
|
|
|
|
source "drivers/gpu/drm/sti/Kconfig"
|
|
|
|
source "drivers/gpu/drm/amd/amdkfd/Kconfig"
|
|
|
|
source "drivers/gpu/drm/imx/Kconfig"
|
|
|
|
source "drivers/gpu/drm/v3d/Kconfig"
|
|
|
|
source "drivers/gpu/drm/vc4/Kconfig"
|
|
|
|
source "drivers/gpu/drm/etnaviv/Kconfig"
|
|
|
|
source "drivers/gpu/drm/arc/Kconfig"
|
|
|
|
source "drivers/gpu/drm/hisilicon/Kconfig"
|
|
|
|
source "drivers/gpu/drm/mediatek/Kconfig"
|
|
|
|
source "drivers/gpu/drm/zte/Kconfig"
|
|
|
|
source "drivers/gpu/drm/mxsfb/Kconfig"
|
|
|
|
source "drivers/gpu/drm/meson/Kconfig"
|
|
|
|
source "drivers/gpu/drm/tinydrm/Kconfig"
|
|
|
|
source "drivers/gpu/drm/pl111/Kconfig"
|
|
|
|
source "drivers/gpu/drm/tve200/Kconfig"
|
|
|
|
source "drivers/gpu/drm/xen/Kconfig"
|
|
|
|
# Keep legacy drivers last
|
|
|
|
menuconfig DRM_LEGACY
|
|
bool "Enable legacy drivers (DANGEROUS)"
|
|
depends on DRM && MMU
|
|
select DRM_VM
|
|
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
|
|
|
|
# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
|
|
config DRM_PANEL_ORIENTATION_QUIRKS
|
|
tristate
|
|
|
|
config DRM_LIB_RANDOM
|
|
bool
|
|
default n
|