OSDN Git Service

Merge tag 'drm-misc-next-2019-12-16' of git://anongit.freedesktop.org/drm/drm-misc...
[uclinux-h8/linux.git] / drivers / gpu / drm / Kconfig
index 7e089c4..d3e3ea3 100644 (file)
@@ -93,6 +93,21 @@ config DRM_KMS_FB_HELPER
        help
          FBDEV helpers for KMS drivers.
 
+config DRM_DEBUG_DP_MST_TOPOLOGY_REFS
+        bool "Enable refcount backtrace history in the DP MST helpers"
+       depends on STACKTRACE_SUPPORT
+        select STACKDEPOT
+        depends on DRM_KMS_HELPER
+        depends on DEBUG_KERNEL
+        depends on EXPERT
+        help
+          Enables debug tracing for topology refs in DRM's DP MST helpers. A
+          history of each topology reference/dereference will be printed to the
+          kernel log once a port or branch device's topology refcount reaches 0.
+
+          This has the potential to use a lot of memory and print some very
+          large kernel messages. If in doubt, say "N".
+
 config DRM_FBDEV_EMULATION
        bool "Enable legacy fbdev support for your modesetting driver"
        depends on DRM
@@ -165,6 +180,13 @@ config DRM_TTM
          GPU memory types. Will be enabled automatically if a device driver
          uses it.
 
+config DRM_TTM_DMA_PAGE_POOL
+       bool
+       depends on DRM_TTM && (SWIOTLB || INTEL_IOMMU)
+       default y
+       help
+         Choose this if you need the TTM dma page pool
+
 config DRM_VRAM_HELPER
        tristate
        depends on DRM
@@ -232,9 +254,9 @@ config DRM_AMDGPU
        tristate "AMD GPU"
        depends on DRM && PCI && MMU
        select FW_LOADER
-        select DRM_KMS_HELPER
+       select DRM_KMS_HELPER
        select DRM_SCHED
-        select DRM_TTM
+       select DRM_TTM
        select POWER_SUPPLY
        select HWMON
        select BACKLIGHT_CLASS_DEVICE