On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> This allows us to queue IBs which needs an up to date system domain as well.
>
> Signed-off-by: Christian König <christian.koe.
mismatch between documentation and function name. I prefer the full
amdgpu_gtt_mgr_is_allocated or even better
amdgpu_gtt_mgr_addr_is_allocated. With that fixed up:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> +{
> + struct drm_mm_node *node = mem->mm_node;
&
BO size
> we can swap out.
The last phrase can be dropped as it's no longer relevant.
Acked-by: Alex Deucher <alexander.deuc...@amd.com>
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++
> drivers/
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> This allows us to flush the system VM here.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex D
ristian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ++
> drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 64
>
> 2 files changed, 52 insertions(+), 15 deletions(-)
Stoney does not have powergating, so make the powergating
teardown dependent on whether we have a genpd structure.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
wrote:
> From: Christian König
>
> We want to use them as remap address space.
>
> Signed-off-by: Christian König
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c |
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> Keep them where they belong.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex D
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> No need to do this on every round.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex D
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> This way we don't need to map the full BO at a time any more.
>
> Signed-off-by: Christian König <christian.koe...@amd.c
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> No need to map BOs to GTT on eviction and intermediate transfers any more.
>
> Signed-off-by: Christian König <christian.koe...@am
On Fri, Jun 30, 2017 at 7:22 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> We can finally remove this now.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Woot!
Reviewed-by: Alex D
Check the atom scratch registers to see if asic_init is complete
or not.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 10 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 1 +
2 files changed, 11 insertions(+)
diff
Align with the atomfirmware code.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
b/drivers/g
Rather than checking the CONGIG_MEMSIZE register as that may
not be reliable on some APUs.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/gpu/d
Now that we use a pointer to the scratch reg start offset,
most of the functions were duplicated.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 35
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.
On Mon, Jul 3, 2017 at 5:11 PM, Felix Kuehling wrote:
> From: Christian König
>
> They don't support VM mode yet.
>
> Signed-off-by: Christian König
> Reviewed-by: Felix Kuehling
This could
9] RIP: kfree+0x57/0x160 RSP: c90003403cc0
> [ 91.560761] CR2: ffffebe00620
> [ 91.560765] ---[ end trace 08a9f3cd82223c1d ]---
>
> Fixes: 1c8638024846 (drm/amd/powerplay: refine powerplay interface.)
> Signed-off-by: John Brooks <j...@fastquake.com>
Both patches a
Drop the KCQ disabling via KIQ. We disable the MEC shortly
after anyway, so there is no need to wait for all of this.
Doing so seems to leave the MEC in a bad way.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.
Drop the deactivation in KIQ init and drop the KCQ disabling
via KIQ. We disable the MEC shortly after anyway, so there is
no need to wait for all of this. Doing so seems to leave the
MEC in a bad way.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/
On Tue, Jul 4, 2017 at 4:42 AM, Rex Zhu <rex@amd.com> wrote:
> when hw_fini, pp will disable dpm.so remove sysfs before
> disable dpm.
>
> Change-Id: I17114f5c964b870802abbde32544b28eeb6173ab
> Signed-off-by: Rex Zhu <rex@amd.com>
Reviewed-by: Alex Deucher
Rather than checking the CONGIG_MEMSIZE register as that may
not be reliable on some APUs.
v2: The scratch register is only used on CIK+
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amd
On Thu, Jul 6, 2017 at 5:58 AM, Colin King wrote:
> From: Colin Ian King
>
> The arrays pctl0_data and pctl1_data do not need to be in global scope,
> so them both static.
>
> Cleans up sparse warnings:
> symbol 'pctl0_data' was not declared.
On Mon, Jul 3, 2017 at 5:44 AM, Christian König <deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> We want to use them as remap address space.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
2x512 pages. Wit
e unused assignment
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ++
> drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 62
> +++
n König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 125
> +++-
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 +
> 2 files changed, 108 insertions(+),
On Mon, Jul 3, 2017 at 5:44 AM, Christian König <deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> No need to map BOs to GTT on eviction and intermediate transfers any more.
>
> Signed-off-by: Christian König <christian.koe.
;christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 12
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
> b/drivers/gpu/drm/amd/amdgpu/amdgp
On Mon, Jul 3, 2017 at 5:44 AM, Christian König <deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> Use the TTM values instead of the hardware config here.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed
efer gart to sysvm for the naming.
Acked-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 48 +--
> drivers/gpu/drm/amd/amdgpu/amdgpu_sysvm.h | 77
> +++
> drivers/gpu/drm/amd/amdgpu/a
On Mon, Jul 3, 2017 at 5:44 AM, Christian König <deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> Instead of relying on the sysvm_size to be the same as the module parameter.
>
> Signed-off-by: Christian König <christian.koe.
On Mon, Jul 3, 2017 at 5:44 AM, Christian König wrote:
> From: Christian König
>
> No intended functional change.
>
> Signed-off-by: Christian König
I think I'd prefer to keep this together with the vram_location
Update the description. The limitation is removed now.
>
> v2: rebased and cleaned up after GART to SYSVM rename.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgp
;Use drmmode_crtc_scanout_* helpers for RandR 1.4
> scanout pixmaps")
> (Ported from radeon commit c9dd28cb0c9c3de676eadac61e727732510f6b9b)
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
&
rror).
>
> (Ported from amdgpu commit 1b6ff5fd9933c00ec1ec90dfc62e0b531927749b)
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/drmmode_display.h | 29 ++---
&
On Wed, Jun 28, 2017 at 7:08 PM, Gustavo A. R. Silva
wrote:
> Hi Alex,
>
> Quoting "Deucher, Alexander" :
>
>>> -Original Message-
>>> From: Gustavo A. R. Silva [mailto:garsi...@embeddedor.com]
>>> Sent: Wednesday, June 28, 2017 10:22 AM
to remove sysfs when rmmod amdgpu.
(2017-07-05 13:18:50 -0400)
Alex Deucher (6):
drm/amd/powerplay/cz: print message if smc message fails
drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup
drm/amdgpu: fix
On Tue, Jun 27, 2017 at 1:08 PM, Alexandre Demers
wrote:
> Just a quick update: things a getting into shape slowly since my paternal
> vacancy is over, but I'm still progressing. I'm debugging things as I can. I
> managed to work around the missing header with the
Call nbio init registers on hw_init to set up any
nbio registers that need initialization at hw init time.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc1
Used for nbio registers that need to be initialized. Currently
only used for a golden setting that got missed on some boards.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c | 13 +
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h |
un@amd.com>
>
> Please split this patch in two, one to add the new macro, the next to convert
> the nbio code. With that fixed:
> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
>
>> ---
>> drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c| 2 +-
>> dr
Get it from the system info table.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 76 ++-
1 file changed, 40 insertions(+), 36 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/g
Not all vbios images seem to set the version appropriately.
Switch the check based on asic type instead.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff
Implement support using the new atomfirmware system info table.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 33
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 1 +
2 files changed, 34 inse
On Tue, Apr 25, 2017 at 4:28 PM, Andres Rodriguez wrote:
>
>
> On 2017-04-25 02:01 PM, Nicolai Hähnle wrote:
>>
>> On 24.04.2017 18:20, Andres Rodriguez wrote:
>>>
>>> Add a new context creation parameter to express a global context
>>> priority.
>>>
>>> The priority ranking
Mario Kleiner <mario.kleiner...@gmail.com>
> Cc: Alex Deucher <alexander.deuc...@amd.com>
Applied the series. thanks!
Alex
> ---
> drivers/gpu/drm/radeon/cik.c | 19 +++
> drivers/gpu/drm/radeon/evergreen.c | 8 +---
> drivers/gpu/drm/radeon/
On Sun, Apr 23, 2017 at 7:02 PM, Mario Kleiner
<mario.kleiner...@gmail.com> wrote:
> This apparently got lost when implementing the new DCE-6 support
> and would cause failures in pageflip scheduling and timestamping.
>
> Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.co
t; Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 198 ---
> drivers/gpu/drm/amd/include/cgs_common.h | 270
> --
ly defer
> opening it until --top is invoked.
>
> Signed-off-by: Tom St Denis <tom.stde...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/app/top.c | 7 +++
> src/lib/discover.c | 3 +--
> 2 files changed, 8 insertions(+), 2 de
:
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
On Fri, Jul 28, 2017 at 6:08 PM, Andy Furniss <adf.li...@gmail.com> wrote:
> Alex Deucher wrote:
>>
>> May waste a bit of memory, but simplifies the interface
>> significantly.
>
>
> Can't boot tonga with this (testing 4.14-wip)
Should be fixed with this p
From: Akshu Agrawal <akshu.agra...@amd.com>
Amdgpu asic types will be required for other drivers too.
Hence, its better to keep it in a separate include file.
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
This patch set updates the AMD GPU and Audio CoProcessor (ACP)
audio drivers and the designware i2s driver for Stoney (ST).
ST is an APU similar to Carrizo (CZ) which already has ACP audio
support. The i2s controller and ACP audio DMA engine are part of
the GPU and both need updating so I would
From: Vijendar Mukunda <vijendar.muku...@amd.com>
asic_type information is passed to ACP DMA Driver as platform data.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
v2:Removed asic_type local variable an
rammed
to support 32 bit format and 4 bytes bus width only.
By setting this quirk,It will override 32 bit format with
16 bit format and 2 bytes as bus width for Stoney.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
Move it up before ring enablement with all of the other
engine setup and explicitly disable it for bare metal.
Cc: Frank Min <frank@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/
The wb buffer is in system memory, not vram so the flush
is useless.
Cc: Frank Min <frank@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 -
1 file c
ndar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
v2: Added comments in code and removed locally defined macros
for STONEY and Carrizo.
sound/soc/amd/acp-pcm-dma.c | 79 +++--
1 file changed, 55 insertions(+), 24
lution is supported.
SRAM bank 1 & SRAM bank 2 will be used for playback scenario.
SRAM Bank 3 & SRAM Bank 4 will be used for Capture scenario.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
v2: Added
From: Vijendar Mukunda <vijendar.muku...@amd.com>
Added quirk DW_I2S_QUIRK_16BIT_IDX_OVERRIDE to Designware
driver. This quirk will set idx value to 1.
By setting this quirk, it will override supported format
as 16 bit resolution and bus width as 2 Bytes.
Reviewed-by: Alex D
jendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
v2: Added switch cases for asic type.
sound/soc/amd/acp-pcm-dma.c | 73 +
1 file changed, 68 insertions(+), 5 deletions(-)
diff --git a/sou
From: Vijendar Mukunda <vijendar.muku...@amd.com>
Power Gating is disabled in Stoney platform.
Signed-off-by: Vijendar Mukunda <vijendar.muku...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
v2: added missing changes required for power gating and
May waste a bit of memory, but simplifies the interface
significantly.
v2: convert internal accounting to use 256bit slots
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
esktop.org/mesa/drm
Alex
>
> BR Monk
>
>
> -Original Message-
> From: Alex Deucher [mailto:alexdeuc...@gmail.com]
> Sent: Wednesday, August 9, 2017 12:19 AM
> To: Christian König <deathsim...@vodafone.de>
> Cc: Liu, Monk <monk@amd.com>; amd-
On Tue, Aug 1, 2017 at 5:19 AM, Michel Dänzer <mic...@daenzer.net> wrote:
> From: Michel Dänzer <michel.daen...@amd.com>
>
> Preparation for following changes, no functional change intended yet.
>
> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> #
On Mon, Aug 7, 2017 at 10:46 AM, Christian König
wrote:
> Am 07.08.2017 um 16:35 schrieb Monk Liu:
>>
>> From: Monk Liu
>>
>> Change-Id: I377dde976648d53bc9a3a2d5ba294c284910b109
>> Signed-off-by: Monk Liu
>
>
> Reviewed-by: Christian
On Tue, Aug 8, 2017 at 3:54 AM, Christian König wrote:
> Am 08.08.2017 um 09:34 schrieb Monk Liu:
>>
>> From: Monk Liu
>>
>> since bo_reference and bo_internal_free are
>> all only used by bo_free, so we just merge them
>> together
>>
>> Change-Id:
From: Christian König <christian.koe...@amd.com>
No need to check.
Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/dma-buf/reservation.c |
We have some changes in ttm and amdgpu that depend on these patches.
Sumit, can you pull these in via dma-buf or should I roll them up
through my amdgpu tree?
Christian König (3):
dma-buf: dma_fence_put is NULL safe
dma-buf: add reservation_object_copy_fences
dma-buf: fix
From: Christian König <christian.koe...@amd.com>
Allows us to copy all the fences in a reservation object to another one.
Signed-off-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Alex Deucher <alex
Hi Dave,
More changes for 4.14. Highlights:
- command submission overhead improvements
- Huge page support for vega10
- physical mode support for mjpeg for asics that don't support UVD vm
- improve ttm_mem_type_manager_func debug
- misc ttm fixes, cleanups
- misc gpuvm cleanups
The following
This patch set updates the AMD GPU and Audio CoProcessor (ACP)
audio drivers and the designware i2s driver for Stoney (ST).
ST is an APU similar to Carrizo (CZ) which already has ACP audio
support. The i2s controller and ACP audio DMA engine are part of
the GPU and both need updating so I would
From: Akshu Agrawal <akshu.agra...@amd.com>
Amdgpu asic types will be required for other drivers too.
Hence, its better to keep it in a separate include file.
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Akshu Agrawal <akshu.agra...@amd.com>
Signed-of
Don't validate the default value. Prevents a needless
warning. Also fix a spelling typo in the warning message.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/d
)
Alex Deucher (10):
drm/amdgpu: make wb 256bit function names consistent
drm/amdgpu: drop old ip definitions for gfxhub and mmhub
drm/amdgpu/sdma4: drop unused register header
drm/amdgpu/sdma4: set wptr shadow atomically (v2)
drm/amdgpu/sdma4
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c| 12 ++--
drivers/gpu/drm/amd/include/vi_structs.h | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/d
to allocate additional space for the dynamic cu masks.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c| 25 ++---
drivers/gpu/drm/amd/include/v9_structs.h | 8
2 files changed, 26 insertions(+), 7 del
Necessary for proper operation with KIQ.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/include/v9_structs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/include/v9_structs.h
b/drivers/gpu/drm/amd/i
performance when there are several KFD
processes running.
v2: move some expressions to one line
change KIQ sched_hw_submission to at least 16
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 16
1 file changed, 12 inse
Move the asic specific code into the IP modules.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 52
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 1 -
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
Be more explicit and add comments explaining each case.
Also s/gart/GART/ in the parameter string as per Felix'
suggestion.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.
On Tue, Aug 22, 2017 at 9:35 AM, Harry Wentland <harry.wentl...@amd.com> wrote:
> We'll need this for a some upcoming display changes
>
> Signed-off-by: Harry Wentland <harry.wentl...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
performance when there are several KFD
processes running.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
b/drivers/g
Until I've had time to test it better.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=102372
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/d
On Wed, May 3, 2017 at 8:41 AM, Nicolai Hähnle <nhaeh...@gmail.com> wrote:
> On 02.05.2017 21:50, Alex Deucher wrote:
>>
>> We already have this info: max_gs_threads. Drop the duplicate.
>
>
> max_gs_waves_per_vgt seems to be the better name for this number though
On Tue, May 2, 2017 at 11:48 PM, Monk Liu <monk@amd.com> wrote:
> Change-Id: Ie8672e0c9358d9542810ce05c822d9367249bbd7
> Signed-off-by: Monk Liu <monk@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/mxgpu_a
}
>> return 0;
>> @@ -211,7 +213,7 @@ static int xgpu_ai_mailbox_ack_irq(struct
>> amdgpu_device *adev,
>> struct amdgpu_irq_src *source,
>> struct amdgpu_iv_entry *entry)
>> {
&
sr-iov, it's fine. Maybe we can look at
unifying things for sr-iov and bare metal in this case in the future.
With the ARRAY_SIZE change:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Alex
>
> BR Monk
>
>
>
> -Original Message-
> From: Christian König
On Tue, May 2, 2017 at 11:48 PM, Monk Liu <monk@amd.com> wrote:
> since we don't need hdp flush/inval for KIQ anymore
>
> Change-Id: I8518f479afebb73c68ef922880f92dae53b665b9
> Signed-off-by: Monk Liu <monk@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...
; Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
&g
It's stored in LE format.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/
ubject: [PATCH 2/2] drm/amdgpu: export test ring debugfs interface
>> > >
>> > > Signed-off-by: Huang Rui <ray.hu...@amd.com>
>> >
>> > Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
>>
>> Not sure if it's important for thi
Even if the vblank period would allow it, it still seems to
be problematic on some cards.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=96868
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/ci_dpm.c | 6 ++
1 file changed, 6 insertions(+)
diff
Rather than waiting for each queue.
Reviewed-by: monk liu <monk@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 60 +--
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/dri
Even if the vblank period would allow it, it still seems to
be problematic on some cards.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=96868
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 3 ++-
1 file changed, 2 inse
Even if the vblank period would allow it, it still seems to
be problematic on some cards.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=96868
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6 ++
1 file changed, 6 insertions(+)
Check to make sure the vblank period is long enough to support
mclk switching.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=96868
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 31 +---
1 file chang
From: Hawking Zhang <hawking.zh...@amd.com>
Signed-off-by: Hawking Zhang <hawking.zh...@amd.com>
Signed-off-by: Chunming Zhou <david1.z...@amd.com>
Reviewed-by: Junwei Zhang <jerry.zh...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
include/
From: Leo Liu <leo@amd.com>
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
include/drm/amdgpu_drm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Leo Liu <leo@amd.com>
Add the ring function callbacks for the encode rings.
Signed-off-by: Leo Liu <leo@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Alex Deucher &l
801 - 900 of 12468 matches
Mail list logo