Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-24 | drm/amdgpu: add an INFO query for monitoring VRAM CPU page faults | Marek Olšák | 4 | -1/+7 | |
v2: bump the DRM version Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Return error if initiating read out of range on vram | Tom St Denis | 1 | -0/+3 | |
If you initiate a read that is out of the VRAM address space return ENXIO instead of 0. Reads that begin below that point will read upto the VRAM limit as before. Cc: [email protected] Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Clean up gmc6 wait_for_idle | Tom St Denis | 1 | -7/+1 | |
Signed-off-by: Tom St Denis <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Tidy up static int dce_v6_0_get_num_crtc() | Tom St Denis | 1 | -8/+3 | |
Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Drop commented out stub function | Tom St Denis | 1 | -5/+0 | |
Drop the function gmc_v6_0_init_compute_vmid() since it wasn't implemented and commented out. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Tidy up of gfx_v6_0_setup_rb() | Tom St Denis | 1 | -5/+5 | |
Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: gfx6 tidy up raster config | Tom St Denis | 1 | -12/+8 | |
Clean up coding style in gfx_v6_0_write_harvested_raster_configs() Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amd/amdgpu: Clean up GFX6 tilemode programming | Tom St Denis | 1 | -880/+676 | |
Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: fix merge of vcn_v1_0.c v2 | Christian König | 1 | -0/+2 | |
That line got missed during the merge. v2: fix vcn_v1_0_enc_ring_emit_vm_flush as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: move adjust adjust_mc_addr into the GFX9 vm_flush functions | Christian König | 5 | -3/+7 | |
That GFX9 needs a PDE in the registers is entirely GFX9 specific. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: change default of amdgpu_vram_page_split to 512 | Christian König | 1 | -1/+1 | |
512 is enough for one PD entry on Vega10. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: fix ocl test performance drop | Flora Cui | 1 | -2/+1 | |
partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/sdma3: correct wptr initialization for sdma | Yintian Tao | 1 | -4/+2 | |
If doorbell is used for wptr update, we also need to use it to initialize wptr to 0. Signed-off-by: Yintian Tao <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: cleanup VM manager init/fini | Christian König | 6 | -230/+78 | |
VM is mandatory for all hw amdgpu supports. So remove the leftovers to make it optionally. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add dep_sync for amdgpu job | Chunming Zhou | 2 | -6/+12 | |
The fence in dep_sync cannot be optimized. Signed-off-by: Chunming Zhou <[email protected]> Tested and Reviewed-by: Roger.He <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/gfx9: update golden settings | Ken Wang | 1 | -4/+16 | |
Update gfx9 golden settings. Signed-off-by: Ken Wang <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: skip all jobs of guilty vm | Chunming Zhou | 1 | -4/+11 | |
If the vm is guilty of a GPU reset, skips all its jobs. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: return -ENODEV to user space when vram is lost v2 | Chunming Zhou | 5 | -1/+31 | |
below ioctl will return -ENODEV: amdgpu_cs_ioctl amdgpu_cs_wait_ioctl amdgpu_cs_wait_fences_ioctl amdgpu_gem_va_ioctl amdgpu_info_ioctl v2: only for map and replace cases in amdgpu_gem_va_ioctl Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: check if vram is lost v2 | Chunming Zhou | 2 | -1/+21 | |
backup first 64 byte of gart table as reset magic, check if magic is same after gpu hw reset. v2: use memcmp instead of manual innovation. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add raven gpu_info support | Alex Deucher | 1 | -0/+4 | |
Add support for parsing the gpu info table on raven. This is required to get the gpu config data for raven. Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: correct emit frame size for vcn dec/enc ring | Hawking Zhang | 1 | -2/+2 | |
only mmhub will be invalidated during vcn dec/enc vm flush Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: correct vmhub for vcn dec/enc ring | Hawking Zhang | 1 | -0/+2 | |
This got missed due to differences in the trees when raven support was merged. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: ken wang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/vcn: remove duplicate mask | Alex Deucher | 1 | -1/+0 | |
Looks like a copy past issue. Reported-by: Julia Lawall <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add RAVEN pci id (v2) | Chunming Zhou | 1 | -0/+3 | |
Add the RAVEN pci id. v2: add exp flag for now (Alex) Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/powerplay/raven: add smu block and enable powerplay | Hawking Zhang | 2 | -0/+2 | |
Add the ip block and enable powerplay on raven. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: enable sw clock gating for vcn | Huang Rui | 1 | -2/+2 | |
Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/vcn: add sw clock gating | Huang Rui | 1 | -2/+205 | |
Add sw controlled clockgating for VCN. Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: update vcn decode create msg | Leo Liu | 1 | -10/+5 | |
Based on new vcn firmware interface changes Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn firmware header offset | Leo Liu | 1 | -1/+2 | |
New firmware add psp header. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: get cs support for AMDGPU_HW_IP_VCN_ENC | Leo Liu | 1 | -0/+9 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add AMDGPU_HW_IP_VCN_ENC to info query | Leo Liu | 1 | -0/+8 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn enc ib test | Leo Liu | 2 | -51/+34 | |
Update and enable the vcn encode IB test. Signed-off-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: enable vcn encode ring tests | Leo Liu | 2 | -3/+14 | |
Wire up the callback and enable them. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn enc irq support | Leo Liu | 1 | -3/+25 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn enc ring type and functions | Leo Liu | 3 | -1/+180 | |
Add the ring function callbacks for the encode rings. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn enc rings | Leo Liu | 3 | -2/+33 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: change vcn dec rb command specific for decode | Leo Liu | 2 | -12/+12 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add vcn ip block to soc15 | Leo Liu | 1 | -0/+2 | |
Signed-off-by: Leo Liu <[email protected]> Acked-by: Chunming Zhou <[email protected]> Acked-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: implement new vcn cache window programming | Leo Liu | 1 | -18/+16 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: Disable uvd and vce free handles for raven | Leo Liu | 1 | -2/+4 | |
Not required on raven. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC | Leo Liu | 1 | -0/+3 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add AMDGPU_HW_IP_VCN_DEC to info query | Leo Liu | 1 | -0/+9 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu/vcn: implement ib tests with new message buffer interface | Leo Liu | 1 | -16/+24 | |
Signed-off-by: Leo Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: implement insert end ring function for vcn decode | Leo Liu | 1 | -1/+16 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: implement vcn start RB command | Leo Liu | 1 | -1/+20 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: add a ring func for vcn start command | Leo Liu | 2 | -0/+4 | |
Needed for the proper command sequence for VCN. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: expose vcn RB command | Leo Liu | 2 | -4/+11 | |
Signed-off-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: move vcn ring test to amdgpu_vcn.c | Leo Liu | 3 | -44/+39 | |
Hope it will be generic for vcn later Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: re-group the functions in amdgpu_vcn.c | Leo Liu | 1 | -70/+70 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-24 | drm/amdgpu: move amdgpu_vcn structure to vcn header | Leo Liu | 2 | -25/+23 | |
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |