[pull] amdgpu, ttm drm-next-5.3

2019-06-05 Thread Alex Deucher
Hi Dave, Daniel,

More new stuff for 5.3:

amdgpu:
- Revert timeline support until KHR is ready
- Various driver reload fixes
- Refactor clock handling in DC
- Aux fixes for DC
- Bandwidth calculation updates for DC
- Fix documentation due to file rename
- RAS fix
- Fix race in late_init

ttm:
- Allow for better forward progress when there is heavy memory contention

The following changes since commit 91c1ead6aee22d4595f50ba66070b94a4a8f84a9:

  Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into 
drm-next (2019-05-31 10:04:39 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 137a7da9255763f259351edc1a6f8d0e30ff66db:

  Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu" (2019-06-05 
09:54:27 -0500)


Alex Deucher (3):
  drm/amdgpu: fix a race in GPU reset with IB test (v2)
  drm/amdgpu/display: Drop some new CONFIG_DRM_AMD_DC_DCN1_01 guards
  Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu"

Anthony Koo (2):
  drm/amd/display: do not power on eDP power rail early
  drm/amd/display: fix issues with bad AUX reply on some displays

Aric Cyr (2):
  drm/amd/display: 3.2.32
  drm/amd/display: program manual trigger only for bottom most pipe

Chris Park (1):
  drm/amd/display: Move link functions from dc to dc_link

Christian König (7):
  drm/ttm: Make LRU removal optional v2
  drm/ttm: return immediately in case of a signal
  drm/ttm: remove manual placement preference
  drm/ttm: cleanup ttm_bo_mem_space
  drm/ttm: immediately move BOs to the new LRU v3
  drm/ttm: fix busy memory to fail other user v10
  drm/ttm: fix ttm_bo_unreserve

Chunming Zhou (1):
  drm/amd/display: use ttm_eu_reserve_buffers instead of amdgpu_bo_reserve 
v2

Daniel He (1):
  drm/amd/display: Modified AUX_DPHY_RX_CONTROL0

Emily Deng (3):
  drm/amdgpu:Fix the unpin warning about csb buffer
  drm/amdgpu/sriov: Correct some register program method
  drm/amdgpu/display: Fix reload driver error

Eric Bernstein (1):
  drm/amd/display: Refactor DIO stream encoder

Eric Yang (5):
  drm/amd/display: make clk mgr soc specific
  drm/amd/display: Move CLK_BASE_INNER macro
  drm/amd/display: move clk_mgr files to right place
  drm/amd/display: Fix type of pp_smu_wm_set_range struct
  drm/amd/display: Refactor clk_mgr functions

Eryk Brol (3):
  drm/amd/display: Disable audio stream only if it's currently enabled
  drm/amd/display: Ensure DRR triggers in BP
  drm/amd/display: Increase Backlight Gain Step Size

Gary Kattan (1):
  drm/amd/display: Implement CM dealpha and bias interfaces

Hugo Hu (1):
  drm/amd/display: Don't use ROM for output TF if GAMMA_CS_TFM_1D

Ilya Bakoulin (1):
  drm/amd/display: Add writeback_config to VBA vars

Jun Lei (1):
  drm/amd/display: Add min_dcfclk_mhz field to bb overrides

Krunoslav Kovac (2):
  drm/amd/display: Add GSL source select registers
  drm/amd/display: CS_TFM_1D only applied post EOTF

Mauro Carvalho Chehab (1):
  gpu: amdgpu: fix broken amdgpu_dma_buf.c references

Nicholas Kazlauskas (1):
  drm/amd/display: Reset planes for color management changes

Oak Zeng (1):
  drm/amdkfd: Return proper error code for gws alloc API

Paul Hsieh (1):
  drm/amd/display: disable PSR/ABM before destroy DMCU struct

Su Sung Chung (2):
  drm/amd/display: fix calculation of total_data_read_bandwidth
  drm/amd/display: fix crash on setmode when mode is close to bw limit

Wenjing Liu (1):
  drm/amd/display: assign new stream id in dc_copy_stream

xinhui pan (2):
  drm/amdgpu: ras injection use gpu address
  drm/amdgpu: cancel late_init_work before gpu reset

 Documentation/gpu/amdgpu.rst   |4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h|2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c|2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  116 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c|4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c|   16 +
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c  |   14 +-
 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c   |8 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c   |6 +-
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |2 +-
 drivers/gpu/drm/amd/display/Makefile   |1 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   66 +-
 drivers/gpu/drm/amd/display/dc/Makefile|2 +-
 .../gpu/drm/amd/display/dc/calcs/dcn_calc_auto.h   |1 +
 drivers/gpu

[pull] amdgpu, ttm drm-next-5.3

2019-06-27 Thread Alex Deucher
Hi Dave, Daniel,

Arm fix as requested by Dave, plus a few navi fixes.

The following changes since commit 14808a12bdbdc21143eba70ea07830197b3a04ff:

  Merge tag 'drm-next-5.3-2019-06-25' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-06-27 12:33:57 
+1000)

are available in the Git repository at:

  git://people.freedesktop.org/~agd5f/linux tags/drm-next-5.3-2019-06-27

for you to fetch changes up to 440e80ce02cde7b810e4eb555768c2d77e7a27c8:

  drm/amd/display: fix a couple of spelling mistakes (2019-06-27 11:22:57 -0500)


drm-next-5.3-2019-06-27:

amdgpu:
- Fix warning on 32 bit ARM
- Fix compilation on big endian
- Misc bug fixes

ttm:
- Live lock fix


Alex Deucher (2):
  drm/amdgpu: fix warning on 32 bit
  drm/amdgpu: drop copy/paste leftover to fix big endian

Colin Ian King (1):
  drm/amd/display: fix a couple of spelling mistakes

Evan Quan (4):
  drm/amd/powerplay: check prerequisite for VCN power gating
  drm/amd/powerplay: support runtime ppfeatures setting on Navi10
  drm/amd/powerplay: add missing smu_get_clk_info_from_vbios() call
  drm/amd/powerplay: no memory activity support on Vega10

Felix Kuehling (1):
  drm/ttm: return -EBUSY if waiting for busy BO fails

Oak Zeng (1):
  drm/amdgpu: Set queue_preemption_timeout_ms default value

shaoyunl (1):
  drm/amdkfd: remove unnecessary warning message on gpu reset

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c   |   6 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c   |   3 -
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c|   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c  |   1 -
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c |   2 +-
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c  |   8 +-
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c   |   4 +
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c   | 181 ++-
 drivers/gpu/drm/ttm/ttm_bo.c |   2 +-
 10 files changed, 192 insertions(+), 21 deletions(-)
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [pull] amdgpu, ttm drm-next-5.3

2019-06-05 Thread Dave Airlie
On Thu, 6 Jun 2019 at 05:12, Alex Deucher  wrote:
>
> Hi Dave, Daniel,
>
> More new stuff for 5.3:
>
> amdgpu:
> - Revert timeline support until KHR is ready
> - Various driver reload fixes
> - Refactor clock handling in DC
> - Aux fixes for DC
> - Bandwidth calculation updates for DC
> - Fix documentation due to file rename
> - RAS fix
> - Fix race in late_init
>
> ttm:
> - Allow for better forward progress when there is heavy memory contention

dim: 137a7da92557 ("Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to
amdgpu""): mandatory review missing.
dim: cf25b6444376 ("gpu: amdgpu: fix broken amdgpu_dma_buf.c
references"): SHA1 in fixes line not found:
dim: 988076cd8c5c ("drm/amdgpu: rename amdgpu_prime.[ch] into
amdgpu_dma_buf.[ch]")

The first I'm not worried about, but the fixes line should be fixed
before I can pull this.
2fbd6f94accdbb223acccada68940b50b0c668d9 is the upstream commit in my tree.

Dave.
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [pull] amdgpu, ttm drm-next-5.3

2019-06-05 Thread Alex Deucher
On Wed, Jun 5, 2019 at 10:34 PM Dave Airlie  wrote:
>
> On Thu, 6 Jun 2019 at 05:12, Alex Deucher  wrote:
> >
> > Hi Dave, Daniel,
> >
> > More new stuff for 5.3:
> >
> > amdgpu:
> > - Revert timeline support until KHR is ready
> > - Various driver reload fixes
> > - Refactor clock handling in DC
> > - Aux fixes for DC
> > - Bandwidth calculation updates for DC
> > - Fix documentation due to file rename
> > - RAS fix
> > - Fix race in late_init
> >
> > ttm:
> > - Allow for better forward progress when there is heavy memory contention
>
> dim: 137a7da92557 ("Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to
> amdgpu""): mandatory review missing.
> dim: cf25b6444376 ("gpu: amdgpu: fix broken amdgpu_dma_buf.c
> references"): SHA1 in fixes line not found:
> dim: 988076cd8c5c ("drm/amdgpu: rename amdgpu_prime.[ch] into
> amdgpu_dma_buf.[ch]")
>
> The first I'm not worried about, but the fixes line should be fixed
> before I can pull this.
> 2fbd6f94accdbb223acccada68940b50b0c668d9 is the upstream commit in my tree.

Weird.  dim didn't complain when I ran it.  I guess the old commit
happened to be in my repo.  I'll fix it up.

Alex

>
> Dave.
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [pull] amdgpu, ttm drm-next-5.3

2019-06-05 Thread Daniel Vetter
On Thu, Jun 6, 2019 at 5:05 AM Alex Deucher  wrote:
>
> On Wed, Jun 5, 2019 at 10:34 PM Dave Airlie  wrote:
> >
> > On Thu, 6 Jun 2019 at 05:12, Alex Deucher  wrote:
> > >
> > > Hi Dave, Daniel,
> > >
> > > More new stuff for 5.3:
> > >
> > > amdgpu:
> > > - Revert timeline support until KHR is ready
> > > - Various driver reload fixes
> > > - Refactor clock handling in DC
> > > - Aux fixes for DC
> > > - Bandwidth calculation updates for DC
> > > - Fix documentation due to file rename
> > > - RAS fix
> > > - Fix race in late_init
> > >
> > > ttm:
> > > - Allow for better forward progress when there is heavy memory contention
> >
> > dim: 137a7da92557 ("Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to
> > amdgpu""): mandatory review missing.
> > dim: cf25b6444376 ("gpu: amdgpu: fix broken amdgpu_dma_buf.c
> > references"): SHA1 in fixes line not found:
> > dim: 988076cd8c5c ("drm/amdgpu: rename amdgpu_prime.[ch] into
> > amdgpu_dma_buf.[ch]")
> >
> > The first I'm not worried about, but the fixes line should be fixed
> > before I can pull this.
> > 2fbd6f94accdbb223acccada68940b50b0c668d9 is the upstream commit in my tree.
>
> Weird.  dim didn't complain when I ran it.  I guess the old commit
> happened to be in my repo.  I'll fix it up.

I should check also that it's an ancestor commit, not just that it's
in the repo (but that's a few conditions later on, for Dave it
obviously failed earlier). Since it's a branch not a tag I can't pull
the old version anymore and take a look and figure out what might be
the reason, but this should have worked.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [pull] amdgpu, ttm drm-next-5.3

2019-06-05 Thread Daniel Vetter
On Thu, Jun 6, 2019 at 7:25 AM Daniel Vetter  wrote:
>
> On Thu, Jun 6, 2019 at 5:05 AM Alex Deucher  wrote:
> >
> > On Wed, Jun 5, 2019 at 10:34 PM Dave Airlie  wrote:
> > >
> > > On Thu, 6 Jun 2019 at 05:12, Alex Deucher  wrote:
> > > >
> > > > Hi Dave, Daniel,
> > > >
> > > > More new stuff for 5.3:
> > > >
> > > > amdgpu:
> > > > - Revert timeline support until KHR is ready
> > > > - Various driver reload fixes
> > > > - Refactor clock handling in DC
> > > > - Aux fixes for DC
> > > > - Bandwidth calculation updates for DC
> > > > - Fix documentation due to file rename
> > > > - RAS fix
> > > > - Fix race in late_init
> > > >
> > > > ttm:
> > > > - Allow for better forward progress when there is heavy memory 
> > > > contention
> > >
> > > dim: 137a7da92557 ("Revert "drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to
> > > amdgpu""): mandatory review missing.
> > > dim: cf25b6444376 ("gpu: amdgpu: fix broken amdgpu_dma_buf.c
> > > references"): SHA1 in fixes line not found:
> > > dim: 988076cd8c5c ("drm/amdgpu: rename amdgpu_prime.[ch] into
> > > amdgpu_dma_buf.[ch]")
> > >
> > > The first I'm not worried about, but the fixes line should be fixed
> > > before I can pull this.
> > > 2fbd6f94accdbb223acccada68940b50b0c668d9 is the upstream commit in my 
> > > tree.
> >
> > Weird.  dim didn't complain when I ran it.  I guess the old commit
> > happened to be in my repo.  I'll fix it up.
>
> I should check also that it's an ancestor commit, not just that it's

s/I/It/, meanwhile dim makes sure this is the case. Typing mails
before coffee :-)

https://gitlab.freedesktop.org/drm/maintainer-tools/blob/master/dim#L831

Is the check.
-Daniel

> in the repo (but that's a few conditions later on, for Dave it
> obviously failed earlier). Since it's a branch not a tag I can't pull
> the old version anymore and take a look and figure out what might be
> the reason, but this should have worked.
> -Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx