Re: [pull] radeon and amdgpu drm-next-4.12

2017-04-28 Thread Michel Dänzer
On 29/04/17 06:54 AM, Alex Deucher wrote:
> Hi Dave,
> 
> Fixes for 4.12.  Mostly updates for vega10 which is new for
> 4.12.  Highlights:
> - Lots of vega10 fixes
> - fix interruptable wait mixup
> - misc display fixes for radeon and amdgpu
> - misc bug fixes

[...]

> Michel Dänzer (1):
>   drm/amdgpu: Make amdgpu_bo_reserve use uninterruptible waits for cleanup

Maybe 'Revert "drm/amdgpu: Refactor flip into prepare submit and submit.
(v2)"' can be picked up for 4.12 as well? It's not technically a fix,
but it makes amdgpu_crtc_page_flip_target easier to grok again.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[pull] radeon and amdgpu drm-next-4.12

2017-04-28 Thread Alex Deucher
Hi Dave,

Fixes for 4.12.  Mostly updates for vega10 which is new for
4.12.  Highlights:
- Lots of vega10 fixes
- fix interruptable wait mixup
- misc display fixes for radeon and amdgpu
- misc bug fixes

The following changes since commit 73ba2d5c2bd4ecfec8fe37f20e962889b8a4c972:

  Merge tag 'drm-intel-next-fixes-2017-04-27' of 
git://anongit.freedesktop.org/git/drm-intel into drm-next (2017-04-29 05:50:27 
+1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.12

for you to fetch changes up to c81a1a74037f61c578f6b8218b079aa434e300b4:

  drm/amdgpu: Make amdgpu_bo_reserve use uninterruptible waits for cleanup 
(2017-04-28 17:33:16 -0400)


Alex Deucher (3):
  drm/amdgpu: fix spelling in header comment
  drm/amdgpu: bump version number to note race fix and new fence 
functionality
  Revert "drm/amd/amdgpu: Set VCE/UVD off during late init"

Alex Xie (8):
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Real return value can be over-written when clean up
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Fix use of interruptible waiting
  drm/amdgpu: Fix use of interruptible waiting

Christian König (14):
  drm/amdgpu: add VMHUB to ring association
  drm/amdgpu: drop VMID per ring tracking
  drm/amdgpu: split VMID management by VMHUB
  drm/amdgpu: invalidate only the currently needed VMHUB v2
  drm/amdgpu: assign VM invalidation engine manually v2
  drm/amdgpu: allow concurrent VM flushes
  drm/amdgpu: trace the vmhub in grab_id as well
  drm/amdgpu: trace vm hub during flush as well v2
  drm/radeon: force the UVD DPB into VRAM as well
  drm/amdgpu: fix coding style and printing in amdgpu_doorbell_init
  drm/amdgpu: fix amdgpu_vm_clear_freed v2
  drm/amdgpu: fix amdgpu_ttm_bo_eviction_valuable
  drm/amdgpu: fix VM clearing in amdgpu_gem_object_close
  drm/amdgpu: remove unused and mostly unimplemented CGS functions v2

Chunming Zhou (6):
  drm/amdgpu: add gtt print like vram when dump mm table V2
  drm/amdgpu: increase gtt size to 3GB by default v2
  drm/amdgpu: fix no-vmid job
  drm/amdgpu: fix gpu reset crash
  drm/amdgpu: fix NULL pointer error
  drm/amdgpu: fix deadlock of reservation between cs and gpu reset v2

Daniel Wang (2):
  drm/amdgpu/psp: skip loading SDMA/RLCG under SRIOV VF
  drm/amdgpu/vce4: fix a PSP loading VCE issue

Evan Quan (1):
  drm/amdgpu: update smu9 driver interface

Frank Min (7):
  drm/amdgpu/vce4: update VCE initialization sequence for SRIOV
  drm/amdgpu/vce4: enable ring & ib test for sriov
  drm/amdgpu/vce4: move mm table constructions functions into mmsch header 
file
  drm/amdgpu/uvd7: add sriov uvd initialization sequences
  drm/amdgpu/uvd7: add uvd doorbell initialization for sriov
  drm/amdgpu/uvd7: add UVD hw init sequences for sriov
  drm/amdgpu/soc15: enable UVD code path for sriov

Huang Rui (14):
  drm/amdgpu: split psp tmr init function
  drm/amdgpu: add psp firmware private memory
  drm/amdgpu: use private memory to store psp firmware data
  drm/amdgpu: split psp asd function
  drm/amdgpu: split psp ring init function
  drm/amdgpu: add hw_start and non-psp firmware loading into resume
  drm/amd/powerplay: fix suspend error on DPM disabled
  drm/amdgpu: do not free fence buf when driver probes.
  drm/amdgpu: fix to clear ASIC INIT COMPLETE bit on resuming phase
  drm/amdgpu: fix to add buffer funcs check
  drm/amdgpu: fix dead lock if any ip block resume failed in s3
  drm/amdgpu: fix to print incorrect wptr address
  drm/ttm: cleanup unuse ret value
  drm/amd/powerplay: add error message to remind user updating firmware

Junwei Zhang (3):
  drm/amdgpu: fix double_offchip_lds_buf for gfx v6
  drm/amdgpu: export more gpu info for gfx9
  drm/amdgpu: bump version for exporting gpu info for gfx9

Mario Kleiner (3):
  drm/amdgpu: Add missing lb_vblank_lead_lines setup to DCE-6 path.
  drm/radeon: Avoid overflows/divide-by-zero in latency_watermark 
calculations.
  drm/radeon: Make display watermark calculations more accurate

Michel Dänzer (1):
  drm/amdgpu: Make amdgpu_bo_reserve use uninterruptible waits for cleanup

Monk Liu (1):
  drm/amdgpu:fix race condition

Pan Bian (2):
  drm/radeon: check return value of radeon_ring_lock
  drm/radeon: check return value of radeon_fence_emit

Pixel Ding (1):
  drm/amdgpu/virt: don't check VALID bit for FLR completion message

Rex Zhu (16):
  drm/amd/powerplay: align with VBIOS to support new AVFS structure
  drm/amdgpu: Remove redundant itermediate return val in sdma_v4_0.c
  

[pull] radeon and amdgpu drm-next-4.12

2017-04-07 Thread Alex Deucher
Hi Dave,

Just some bug fixes and vega10 updates for 4.12.

The following changes since commit 0168778115687486575a6831df865dbc4f5369fe:

  Merge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux 
into drm-next (2017-04-07 05:49:12 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.12

for you to fetch changes up to 32df87dff04833bbf53f1750f6c6048192ed29bf:

  drm/amdgpu: fix fence memory leak in wait_all_fence V2 (2017-04-07 15:15:45 
-0400)


Alex Deucher (1):
  drm/radeon: fix typo in bandwidth calculation

Christian König (1):
  drm/amdgpu: fix "fix 64bit division"

Christopher James Halse Rogers (5):
  drm/radeon: Fail fb creation from imported dma-bufs.
  drm/amdgpu: Fail fb creation from imported dma-bufs. (v2)
  drm/amdgpu: Refuse to pin or change acceptable domains of prime BOs to 
VRAM. (v2)
  drm/radeon: Maintain prime import/export refcount for BOs
  drm/radeon: Refuse to migrate a prime BO to VRAM. (v2)

Chunming Zhou (1):
  drm/amdgpu: fix fence memory leak in wait_all_fence V2

Junwei Zhang (1):
  drm/amdgpu: set vm size and block size by individual gmc by default (v3)

Mario Kleiner (2):
  drm/amdgpu: Make display watermark calculations more accurate
  drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark 
calculations.

Rex Zhu (2):
  drm/amd/powerplay: port newest process pptable code for vega10.
  drm/amd/powerplay: add fan controller table v11 support.

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  31 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c|   6 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c|   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c|   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c |  38 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h |   1 +
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c |  29 +-
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c |  29 +-
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c  |  29 +-
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c  |  29 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c  |   6 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c  |   6 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c  |   6 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c  |  16 +-
 .../gpu/drm/amd/powerplay/hwmgr/vega10_pptable.h   |  50 
 .../amd/powerplay/hwmgr/vega10_processpptables.c   | 324 +++--
 .../amd/powerplay/hwmgr/vega10_processpptables.h   |  28 ++
 drivers/gpu/drm/radeon/r100.c  |   2 +-
 drivers/gpu/drm/radeon/radeon.h|   1 +
 drivers/gpu/drm/radeon/radeon_cs.c |  10 +
 drivers/gpu/drm/radeon/radeon_display.c|   6 +
 drivers/gpu/drm/radeon/radeon_gem.c|   4 +
 drivers/gpu/drm/radeon/radeon_object.c |   5 +
 drivers/gpu/drm/radeon/radeon_prime.c  |   6 +
 27 files changed, 455 insertions(+), 220 deletions(-)
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[pull] radeon and amdgpu drm-next-4.12

2017-03-30 Thread Alex Deucher
Hi Dave,

New stuff for 4.12:
- Preliminary vega10 support
- Support for multi-level page tables
- GPU sensor stuff for mesa
- job tracing improvements
- PRT support for sparse buffers
- Additional SR-IOV improvements
- ttm improvements
- misc bug fixes and code cleanups

The following changes since commit 8bcad07a45637fb88e799466e4eee83859e8ffd3:

  drm/i915/gvt: fix error return check for copy_gma_to_hva() (2017-03-29 
13:38:01 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.12

for you to fetch changes up to 60508d3df2d2052881190ac82802a12cabcef53c:

  drm/amdgpu: Fix 32bit x86 compilation warning (2017-03-30 15:16:00 -0400)


Alex Deucher (66):
  drm/amdgpu: expose GPU sensor related information
  drm/amdgpu: bump driver version for new lds buffer query
  drm/amdgpu/powerplay: enable LEDs on Fiji boards
  drm/amdgpu/vce2: fix vce bar programming
  drm/amdgpu: put gtt at 0 in the internal address space
  drm/amdgpu: add polaris12 to virtual dce handling
  drm/amdgpu: switch ih handling to two levels (v3)
  drm/amdgpu/ih: store the full context id
  drm/amdgpu: add asic callback to get memsize register
  drm/amdgpu: add new ATIF ACPI method
  drm/radeon: add new ATIF ACPI method
  drm/amdgpu/gfx6: drop gds unrefs
  drm/amdgpu: don't init GDS pool if GDS size is 0 (v2)
  drm/amdgpu/vi: remove duplicate CG flags
  drm/amdgpu/vi: add missing error handling when setting uvd dclk
  drm/amdgpu: bump version for PRT support
  drm/amdgpu/gfx8: whitespace cleanup
  drm/amdgpu/gfx8: rename some functions
  drm/amdgpu/gfx8: reserve mqd objects before mapping them
  drm/amdgpu/gfx8: test KIQ before compute rings
  drm/amdgpu/gfx8: fold loops in kiq_resume()
  drm/amdgpu/gfx8: reserve kiq eop object before unmapping it
  drm/amdgpu/gfx8: reduce the functon params for mpq setup
  drm/amdgpu/gfx8: store the eop gpu addr in the ring structure
  drm/amdgpu/gfx8: further KIQ parameter cleanup
  drm/amdgpu: add the new atomfirmware interface header
  amdgpu: detect if we are using atomfirmware or atombios for vbios (v2)
  drm/amdgpu: move atom scratch setup into amdgpu_atombios.c
  drm/amdgpu: add basic support for atomfirmware.h (v3)
  drm/amdgpu: add soc15ip.h
  drm/amdgpu: add vega10_enum.h
  drm/amdgpu: Add ATHUB 1.0 register headers
  drm/amdgpu: Add the DCE 12.0 register headers
  drm/amdgpu: add the GC 9.0 register headers
  drm/amdgpu: add the HDP 4.0 register headers
  drm/amdgpu: add the MMHUB 1.0 register headers
  drm/amdgpu: add MP 9.0 register headers
  drm/amdgpu: add NBIF 6.1 register headers
  drm/amdgpu: add NBIO 6.1 register headers
  drm/amdgpu: add OSSSYS 4.0 register headers
  drm/amdgpu: add SDMA 4.0 register headers
  drm/amdgpu: add SMUIO 9.0 register headers
  drm/amdgpu: add THM 9.0 register headers
  drm/amdgpu: add the UVD 7.0 register headers
  drm/amdgpu: add the VCE 4.0 register headers
  drm/amdgpu: add gfx9 clearstate header
  drm/amdgpu: add SDMA 4.0 packet header
  drm/amdgpu: use atomfirmware interfaces for scratch reg save/restore
  drm/amdgpu: update IH IV ring entry for soc-15
  drm/amdgpu: add PTE defines for MTYPE
  drm/amdgpu: add NGG parameters
  drm/amdgpu: Add asic family for vega10
  drm/amdgpu: add tiling flags for GFX9 (v2)
  drm/amdgpu: gart fixes for vega10
  drm/amdgpu:vega10: enable virtual display if set via module option
  drm/amdgpu/gfx9: whitespace cleanup
  drm/amdgpu/gfx9: rename some functions
  drm/amdgpu/gfx9: reserve mqd objects before mapping them
  drm/amdgpu/gfx9: reserve kiq eop object before unmapping it
  drm/amdgpu/gfx9: reduce the functon params for mpq setup
  drm/amdgpu/gfx9: store the eop gpu addr in the ring structure
  drm/amdgpu/gfx9: further KIQ parameter cleanup
  drm/amdgpu: refine the logic in amdgpu_need_post()
  drm/amdgpu/gfx9: use hweight for calculating num_rbs
  drm/amdgpu/soc15: return cached values for some registers (v2)
  drm/amdgpu/soc15: drop support for reading some registers

Alex Xie (8):
  drm/amdgpu: change pte definitions to 64 bit
  drm/amdgpu: set GART PTE asic specific flags
  drm/amdgpu: add a callback to set vm mapping flags
  drm/amdgpu: Add MTYPE flags to GPU VM IOCTL interface
  drm/amdgpu: handle PTE EXEC in amdgpu_vm_bo_split_mapping
  drm/amdgpu: handle PTE MTYPE in amdgpu_vm_bo_split_mapping
  drm/amdgpu: Add GMC 9.0 support (v2)
  drm/amdgpu: Fix 32bit x86 compilation warning

Andres Rodriguez (8):
  drm/amdgpu: make trace format uniform csv name=value
  drm/amdgpu: trace fence details in amdgpu_sched_run_job
  drm/amd/sched: add a unique job id to amd_sched_job
  drm/amdgpu: more ftrace