-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'drm-next-4.2-amdgpu' of git://people.freedesktop.org/~a…
…gd5f/linux into drm-next This is the big pull request for amdgpu, the new driver for VI+ AMD asics. I currently supports Tonga, Iceland, and Carrizo and also contains a Kconfig option to build support for CI parts for testing. All major functionality is supported (displays, gfx, compute, dma, video decode/encode, etc.). Power management is working on Carrizo, but is still being worked on for Tonga and Iceland. * 'drm-next-4.2-amdgpu' of git://people.freedesktop.org/~agd5f/linux: (106 commits) drm/amdgpu: only support IBs in the buffer list (v2) drm/amdgpu: add vram_type and vram_bit_width for interface query (v2) drm/amdgpu: add ib_size/start_alignment interface query drm/amdgpu: add me/ce/pfp_feature_version interface query drm/amdgpu add ce_ram_size for interface query drm/amdgpu add max_memory_clock for interface query (v2) drm/amdgpu: add hdp flush for gfx8 compute ring drm/amdgpu: fix no hdp flush for compute ring drm/amdgpu: add HEVC/H.265 UVD support drm/amdgpu: stop loading firmware with pm.mutex locked drm/amdgpu: remove mclk_lock drm/amdgpu: fix description of vm_size module parameter (v2) drm/amdgpu: remove all sh mem register modification in vm flush drm/amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT drm/amdgpu: fence should be added to shared slot drm/amdgpu: sync fence of clear_invalids (v2) drm/amdgpu: max_pde_used usage should be under protect drm/amdgpu: fix bug of vm_bo_map (v2) drm/amdgpu: implement the allocation range (v3) drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) ...
- Loading branch information
Showing
233 changed files
with
424,781 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
config DRM_AMDGPU_CIK | ||
bool "Enable amdgpu support for CIK parts" | ||
depends on DRM_AMDGPU | ||
help | ||
Choose this option if you want to enable experimental support | ||
for CIK asics. | ||
|
||
CIK is already supported in radeon. CIK support in amdgpu | ||
is for experimentation and testing. | ||
|
||
config DRM_AMDGPU_USERPTR | ||
bool "Always enable userptr write support" | ||
depends on DRM_AMDGPU | ||
select MMU_NOTIFIER | ||
help | ||
This option selects CONFIG_MMU_NOTIFIER if it isn't already | ||
selected to enabled full userptr support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# | ||
# Makefile for the drm device driver. This driver provides support for the | ||
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. | ||
|
||
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/asic_reg \ | ||
-Idrivers/gpu/drm/amd/include | ||
|
||
amdgpu-y := amdgpu_drv.o | ||
|
||
# add KMS driver | ||
amdgpu-y += amdgpu_device.o amdgpu_kms.o \ | ||
amdgpu_atombios.o atombios_crtc.o amdgpu_connectors.o \ | ||
atom.o amdgpu_fence.o amdgpu_ttm.o amdgpu_object.o amdgpu_gart.o \ | ||
amdgpu_encoders.o amdgpu_display.o amdgpu_i2c.o \ | ||
amdgpu_fb.o amdgpu_gem.o amdgpu_ring.o \ | ||
amdgpu_cs.o amdgpu_bios.o amdgpu_benchmark.o amdgpu_test.o \ | ||
amdgpu_pm.o atombios_dp.o amdgpu_afmt.o amdgpu_trace_points.o \ | ||
atombios_encoders.o amdgpu_semaphore.o amdgpu_sa.o atombios_i2c.o \ | ||
amdgpu_prime.o amdgpu_vm.o amdgpu_ib.o amdgpu_pll.o \ | ||
amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o | ||
|
||
# add asic specific block | ||
amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o gmc_v7_0.o cik_ih.o kv_smc.o kv_dpm.o \ | ||
ci_smc.o ci_dpm.o dce_v8_0.o gfx_v7_0.o cik_sdma.o uvd_v4_2.o vce_v2_0.o | ||
|
||
amdgpu-y += \ | ||
vi.o | ||
|
||
# add GMC block | ||
amdgpu-y += \ | ||
gmc_v8_0.o | ||
|
||
# add IH block | ||
amdgpu-y += \ | ||
amdgpu_irq.o \ | ||
amdgpu_ih.o \ | ||
iceland_ih.o \ | ||
tonga_ih.o \ | ||
cz_ih.o | ||
|
||
# add SMC block | ||
amdgpu-y += \ | ||
amdgpu_dpm.o \ | ||
cz_smc.o cz_dpm.o \ | ||
tonga_smc.o tonga_dpm.o \ | ||
iceland_smc.o iceland_dpm.o | ||
|
||
# add DCE block | ||
amdgpu-y += \ | ||
dce_v10_0.o \ | ||
dce_v11_0.o | ||
|
||
# add GFX block | ||
amdgpu-y += \ | ||
amdgpu_gfx.o \ | ||
gfx_v8_0.o | ||
|
||
# add async DMA block | ||
amdgpu-y += \ | ||
sdma_v2_4.o \ | ||
sdma_v3_0.o | ||
|
||
# add UVD block | ||
amdgpu-y += \ | ||
amdgpu_uvd.o \ | ||
uvd_v5_0.o \ | ||
uvd_v6_0.o | ||
|
||
# add VCE block | ||
amdgpu-y += \ | ||
amdgpu_vce.o \ | ||
vce_v3_0.o | ||
|
||
amdgpu-$(CONFIG_COMPAT) += amdgpu_ioc32.o | ||
amdgpu-$(CONFIG_VGA_SWITCHEROO) += amdgpu_atpx_handler.o | ||
amdgpu-$(CONFIG_ACPI) += amdgpu_acpi.o | ||
amdgpu-$(CONFIG_MMU_NOTIFIER) += amdgpu_mn.o | ||
|
||
obj-$(CONFIG_DRM_AMDGPU)+= amdgpu.o | ||
|
||
CFLAGS_amdgpu_trace_points.o := -I$(src) |
Oops, something went wrong.