Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-29 | drm/amdgpu: add flag to delay VM updates | Christian König | 1 | -3/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add optional dependencies to the CS IOCTL v2 | Christian König | 1 | -1/+58 | |
v2: remove unrelated whitespace change, fix C comment Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: recreate fence from user seq | Christian König | 3 | -9/+44 | |
And use common fence infrastructure for the wait. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-06-29 | gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set | Alexander Kuleshov | 1 | -0/+6 | |
If the CONFIG_DEBUG_FS is not selected, compilation of the drivers/gpu/drm/amd/amdgpu/amdgpu_device.c provides two warnings that amdgpu_debugfs_regs_init and amdgpu_debugfs_regs_cleanup are used but never defined. And as result: ERROR: "amdgpu_debugfs_regs_cleanup" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: "amdgpu_debugfs_regs_init" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ^ Reviewed-by: Christian König <[email protected]> Signed-off-by: Alexander Kuleshov <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: disable enable_nb_ps_policy temporarily | Sonny Jiang | 1 | -1/+1 | |
Fixes a hang on resume. Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: correct define SMU_EnabledFeatureScoreboard_SclkDpmOn | Sonny Jiang | 1 | -1/+1 | |
Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: allocate ip_block_enabled memory in common code | Alex Deucher | 3 | -9/+3 | |
Remove duplication across asic families and make it symmetric with the freeing of the code in amdgpu_device.c Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: remove unnecessary check before kfree | Maninder Singh | 1 | -2/+1 | |
kfree(NULL) is safe and this check is probably not required Signed-off-by: Maninder Singh <[email protected]> Reviewed-by: Vaneet Narang <[email protected]> Reviewed-by: Christian Konig <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: use kzalloc for allocating one thing | Maninder Singh | 1 | -1/+1 | |
Use kzalloc rather than kcalloc(1.. for allocating one thing. Signed-off-by: Maninder Singh <[email protected]> Reviewed-by: Vaneet Narang <[email protected]> Reviewed-by: Christian Konig <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add chunk id validity check | Christian König | 1 | -3/+11 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: fix crash on invalid CS IOCTL | Christian König | 1 | -2/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: reset wptr at cp compute resume (v2) | Sonny Jiang | 1 | -0/+6 | |
This patch is to resolve compute hang at resume time. v2: (agd5f) squash in second fix Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-29 | drm/amdgpu: check VCE feedback and bitstream index | Christian König | 1 | -8/+16 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> | |||||
2015-06-29 | drm/amdgpu: make VCE handle check more strict | Christian König | 1 | -16/+48 | |
Port of radeon commit 29c63fe22a17c64e54016040cd882481bd45ee5a. Signed-off-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> | |||||
2015-06-29 | drm/amdgpu: check VCE relocation buffer range | Christian König | 3 | -29/+92 | |
port of radeon commit 2fc5703abda201f138faf63bdca743d04dbf4b1a. Signed-off-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> | |||||
2015-06-29 | drm/amdgpu: silence invalid error message | Christian König | 1 | -1/+1 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> | |||||
2015-06-29 | drm/amdgpu: fix wrong type | monk.liu | 1 | -1/+2 | |
Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-29 | drm/amdgpu: print the bo_list in the CS trace point as well | Christian König | 1 | -2/+4 | |
Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add amdgpu_bo_list_set trace point | Christian König | 2 | -0/+18 | |
Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add BO map/unmap trace point | Christian König | 2 | -0/+52 | |
Signed-off-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: simplify fence debugfs output a bit | Christian König | 1 | -2/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: Configure doorbell to maximum slots | Ben Goz | 1 | -1/+1 | |
Signed-off-by: Ben Goz <[email protected]> Acked-by: Oded Gabbay <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: Initialize compute sdma and memory from kgd | Ben Goz | 4 | -0/+123 | |
v2: add missing MTYPE_NONCACHED enum Signed-off-by: Ben Goz <[email protected]> Acked-by: Oded Gabbay <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: fix hpd range check in dce_v8_0_hpd_irq() | Alex Deucher | 1 | -1/+1 | |
Spotted by Dan Carpenter. This is a slight variant of his fix. Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: fix a amdgpu_dpm=0 bug | Sonny Jiang | 1 | -3/+5 | |
Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: don't enable/disable display twice on suspend/resume | Alex Deucher | 3 | -54/+0 | |
We were doing it in the common code and in the IP specific code. Remove the IP specific code. The common code handles the ordering properly. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: fix UVD/VCE VM emulation | Christian König | 1 | -3/+15 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: enable vce powergating | Sonny Jiang | 4 | -14/+148 | |
Enable VCE dpm and powergating. VCE dpm dynamically scales the VCE clocks on demand. Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-10 | drm/amdgpu/iceland: don't call smu_init on resume | Alex Deucher | 1 | -6/+19 | |
smu_init allocates buffers and initializes them. It does not touch the hw. There is no need to do it again on resume. It should really be part of sw_init (and smu_fini should be part of sw_fini), but we need the firmware sizes from the other IPs for firmware loading so we have to wait until sw init is done for all other IPs. Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu/tonga: don't call smu_init on resume | Alex Deucher | 1 | -6/+19 | |
smu_init allocates buffers and initializes them. It does not touch the hw. There is no need to do it again on resume. It should really be part of sw_init (and smu_fini should be part of sw_fini), but we need the firmware sizes from the other IPs for firmware loading so we have to wait until sw init is done for all other IPs. Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu/cz: don't call smu_init on resume | Alex Deucher | 1 | -7/+8 | |
smu_init allocates buffers and initializes them. It does not touch the hw. There is no need to do it again on resume. It should really be part of sw_init (and smu_fini should be part of sw_fini), but we need the firmware sizes from the other IPs for firmware loading so we have to wait until sw init is done for all other IPs. Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: update to latest gfx8 golden register settings | Alex Deucher | 1 | -0/+7 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: whitespace cleanup in gmc8 golden regs | Alex Deucher | 1 | -1/+1 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/admgpu: move XDMA golden registers to dce code | Alex Deucher | 3 | -4/+18 | |
Already moved other display registers. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: fix the build on big endian | Alex Deucher | 2 | -3/+5 | |
Some leftover copy and pastes from radeon that never got updated. Reviewed-by: Christian König <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-10 | drm/amdgpu: remove the VI hardware semaphore in ring sync | David Zhang | 1 | -5/+4 | |
Signed-off-by: David Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-08 | drm/amdgpu: set the gfx config properly for all CZ variants (v2) | Alex Deucher | 1 | -2/+36 | |
Need to adjust the number of CUs and RBs. v2: get proper values Reviewed-by: Christian König <[email protected]> Reviewed-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: also print the pci revision when printing the pci ids | Alex Deucher | 1 | -3/+3 | |
The driver makes use of this information so print if to aid in debugging. Reviewed-by: Christian König <[email protected]> Reviewed-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: cleanup VA IOCTL | Christian König | 1 | -43/+21 | |
Remove the unnecessary returned status and make the IOCTL write only. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: fix saddr handling in amdgpu_vm_bo_unmap | Christian König | 1 | -0/+2 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-08 | drm/amdgpu: fix amdgpu_vm_bo_map | Christian König | 1 | -0/+2 | |
We need to reset the bo_va address, otherwise new mappings wouldn't be updated in the page table. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-05 | drm/amdgpu: disable user fence interrupt (v2) | Chunming Zhou | 13 | -26/+46 | |
amdgpu submits both kernel and user fences, but just need one interrupt, disable user fence interrupt and don't effect user fence. v2: fix merge error Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-05 | drm/amdgpu: fix user ptr race condition | Christian König | 2 | -1/+1 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: monk liu <[email protected]> | |||||
2015-06-05 | drm/amdgpu: add zero timeout check in amdgpu_fence_wait_seq_timeout | Jack Xiao | 1 | -0/+4 | |
Signed-off-by: Jack Xiao <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: only support IBs in the buffer list (v2) | Marek Olšák | 2 | -72/+24 | |
amdgpu_cs_find_mapping doesn't work without all buffers being validated, so the TTM validation must be done first. v2: only use amdgpu_cs_find_mapping for UVD/VCE VM emulation Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add vram_type and vram_bit_width for interface query (v2) | Ken Wang | 7 | -27/+76 | |
Track the type of vram on the board and provide a query for it. User mode drivers and tools want this information for determining bandwidth information and form informational purposes. v2: fix build when CI support is not enabled Signed-off-by: Ken Wang <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add ib_size/start_alignment interface query | Ken Wang | 1 | -0/+14 | |
Query the IB alignment requirements from the kernel rather than hardcoding them in the user mode drivers. Signed-off-by: Ken Wang <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add me/ce/pfp_feature_version interface query | Ken Wang | 4 | -3/+12 | |
Provide this information to usermode drivers. We were previously missing this info. Signed-off-by: Ken Wang <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu add ce_ram_size for interface query | Ken Wang | 4 | -0/+7 | |
Add a query for the CE ram size. User mode drivers will want to use this to determine how much size of the cache on the CE. Signed-off-by: Ken Wang <[email protected]> Reviewd-by: Jammy Zhou <[email protected]> | |||||
2015-06-03 | drm/amdgpu add max_memory_clock for interface query (v2) | Ken Wang | 1 | -2/+6 | |
Add a query for the max memory clock. v2: handle the dpm enabled case properly Signed-off-by: Ken Wang <[email protected]> Reviewd-by: Jammy Zhou <[email protected]> |