On 08/02/2018 06:09 PM, Christian König wrote:
Am 02.08.2018 um 07:50 schrieb Zhang, Jerry (Junwei):
On 08/01/2018 07:31 PM, Christian König wrote:
Start to use the scheduler load balancing for userspace SDMA
command submissions.
In this case, each SDMA could load all SDMA(instances) rqs, an
On 08/02/2018 10:55 PM, Michel Dänzer wrote:
On 2018-08-02 04:04 PM, Christian König wrote:
This way we can always find a BO structure by its handle.
Signed-off-by: Christian König
Typo in the shortlog: should be "lookup" instead of "lockup".
Also, this patch should really be after patch 4.
On 08/02/2018 10:04 PM, Christian König wrote:
The kernel handles are dense and the kernel always tries to use the
lowest free id. Use this to implement a more efficient handle table
by using a resizeable array instead of a hash.
Signed-off-by: Christian König
---
amdgpu/Makefile.sources | 4
Hello Christian, AMD guys,
this one _together_ with these series
[PATCH 1/7] drm/amdgpu: use new scheduler load balancing for VMs
https://lists.freedesktop.org/archives/amd-gfx/2018-August/024802.html
on top of
amd-staging-drm-next 53d5f1e4a6d9
freeze whole system (Intel Xeon X3470, RX580) duri
On 08/02/2018 03:38 PM, Harry Wentland wrote:
[Why]
VGA sometimes has trouble retrieving the EDID on very long cables, KVM
switches, or old displays.
[How]
Only require EDID read for HDMI and DVI and exempt other types (DP,
VGA). We currently don't support VGA but if anyone adds support in the
f
On Thu, Aug 2, 2018 at 3:38 PM, Harry Wentland wrote:
> [Why]
> VGA sometimes has trouble retrieving the EDID on very long cables, KVM
> switches, or old displays.
>
> [How]
> Only require EDID read for HDMI and DVI and exempt other types (DP,
> VGA). We currently don't support VGA but if anyone a
[Why]
VGA sometimes has trouble retrieving the EDID on very long cables, KVM
switches, or old displays.
[How]
Only require EDID read for HDMI and DVI and exempt other types (DP,
VGA). We currently don't support VGA but if anyone adds support in the
future this might get overlooked.
Signed-off-by:
On 2018-08-02 04:06 AM, Michel Dänzer wrote:
> On 2018-08-01 09:51 PM, Harry Wentland wrote:
>> [Why]
>> Some boards seem to have a problem where HPD is high on HDMI even though
>> no display is connected. We don't want to report these as connected. DP
>> spec still requires us to report DP displ
On Thu, Aug 2, 2018 at 1:05 PM, Michel Dänzer wrote:
> From: Michel Dänzer
>
> Not doing this resulted in falling back to software for DRI3 client
> presentation operations with ShadowPrimary.
>
> (Ported from amdgpu commit 2989d40ef74d9966e8e8df2ef7727b2cc48d4960)
>
> Signed-off-by: Michel Dänze
On Thu, Aug 2, 2018 at 12:47 PM, Michel Dänzer wrote:
> From: Michel Dänzer
>
> Inspired by the modesetting driver.
>
> (Ported from radeon commit db28d35ce9fd07a2a4703f3df0633d4c8291ff9b)
>
> Signed-off-by: Michel Dänzer
Reviewed-by: Alex Deucher
> ---
> src/amdgpu_glamor.c | 32 +++
From: Michel Dänzer
Not doing this resulted in falling back to software for DRI3 client
presentation operations with ShadowPrimary.
(Ported from amdgpu commit 2989d40ef74d9966e8e8df2ef7727b2cc48d4960)
Signed-off-by: Michel Dänzer
---
src/radeon_dri3.c | 1 +
1 file changed, 1 insertion(+)
di
From: Michel Dänzer
We were only storing the FB provided by the client, but on CRTCs with
TearFree enabled, we use a separate FB. This could cause
drmmode_flip_handler to fail to clear drmmode_crtc->flip_pending, which
could result in a hang when waiting for the pending flip to complete. We
were
From: Michel Dänzer
Inspired by the modesetting driver.
(Ported from radeon commit db28d35ce9fd07a2a4703f3df0633d4c8291ff9b)
Signed-off-by: Michel Dänzer
---
src/amdgpu_glamor.c | 32 ++--
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/src/amdgpu_g
Applies to patch #1 and patch #3, should lockup not be lookup?
On 08/02/2018 09:04 AM, Christian König wrote:
> The kernel handles are dense and the kernel always tries to use the
> lowest free id. Use this to implement a more efficient handle table
> by using a resizeable array instead of a hash
On 2018-08-02 04:04 PM, Christian König wrote:
> The kernel handles are dense and the kernel always tries to use the
> lowest free id. Use this to implement a more efficient handle table
> by using a resizeable array instead of a hash.
>
> Signed-off-by: Christian König
>
> [...]
>
> +drm_priv
On 2018-08-02 04:04 PM, Christian König wrote:
> This way we can always find a BO structure by its handle.
>
> Signed-off-by: Christian König
Typo in the shortlog: should be "lookup" instead of "lockup".
Also, this patch should really be after patch 4.
> @@ -240,14 +237,11 @@ int amdgpu_bo_ex
Not used any more.
Signed-off-by: Christian König
---
amdgpu/Makefile.sources | 4 -
amdgpu/util_hash.c | 383 ---
amdgpu/util_hash.h | 103 -
amdgpu/util_hash_table.c | 270 -
amdgpu/util_hash
Instead of the hash use the handle table.
Signed-off-by: Christian König
---
amdgpu/amdgpu_bo.c | 26 +-
amdgpu/amdgpu_device.c | 14 --
amdgpu/amdgpu_internal.h | 2 +-
3 files changed, 14 insertions(+), 28 deletions(-)
diff --git a/amdgpu/amdgpu_bo
Instead of the hash use the handle table.
Signed-off-by: Christian König
---
amdgpu/amdgpu_bo.c | 19 ++-
amdgpu/amdgpu_device.c | 2 --
amdgpu/amdgpu_internal.h | 3 ++-
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu
This way we can always find a BO structure by its handle.
Signed-off-by: Christian König
---
amdgpu/amdgpu_bo.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu_bo.c
index d29be244..39228620 100644
--- a/amdgpu/amdgpu_bo.c
+
We have so few devices that just walking a linked list is probably
faster.
Signed-off-by: Christian König
---
amdgpu/amdgpu_device.c | 49
amdgpu/amdgpu_internal.h | 1 +
2 files changed, 17 insertions(+), 33 deletions(-)
diff --git a/amdgpu/a
The kernel handles are dense and the kernel always tries to use the
lowest free id. Use this to implement a more efficient handle table
by using a resizeable array instead of a hash.
Signed-off-by: Christian König
---
amdgpu/Makefile.sources | 4 +++-
amdgpu/handle_table.c | 59 ++
If you use them enough for debugging that you think it's better to have
them in tree, feel free to commit them. Maybe just add a note that they
are just for debugging and add a note about the race condition.
Alex
On Thu, Aug 2, 2018 at 6:22 AM, Zhu, Rex wrote:
> Currently, there is no use cas
Am 02.08.2018 um 13:08 schrieb Huang Rui:
Demangle amdgpu.h
Signed-off-by: Huang Rui
Acked-by: Christian König for the whole series.
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 276 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 34 +++-
drivers/gpu/drm/amd/amdg
On Thu, Aug 02, 2018 at 07:08:14PM +0800, Huang Rui wrote:
> Demangle amdgpu.h.
Sorry, there is a typo in the subject. It should be
"drm/amdgpu: move psp macro into amdgpu_ucode into amdgpu_psp header".
Thanks,
Ray
>
> Signed-off-by: Huang Rui
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h |
Demangle amdgpu.h.
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 62 +
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c| 1 +
drivers/gpu/drm/amd/amdgpu/a
Demangle amdgpu.h.
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 29 +
2 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/
Demangle amdgpu.h.
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 27 ---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 24
2 files changed, 24 insertions(+), 27 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.
Demangle amdgpu.h.
Furthermore, SDMA is used for moving and clearing the data buffer, so the header
also need be included in ttm.
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/Makefile | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 87 +-
drivers/gpu/
Demangle amdgpu.h
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 14 --
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 15 +++
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdg
Demangle amdgpu.h
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 276 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 34 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 343
3 files changed, 336 insertions(+), 317 dele
Currently, there is no use case except for debug.
So I will keep the patches in my local.
Thanks.
Best Regards
Rex
From: Alex Deucher
Sent: Wednesday, August 1, 2018 11:13 PM
To: Zhu, Rex
Cc: Deucher, Alexander; Quan, Evan; amd-gfx@lists.freedesktop.org
Su
Am 02.08.2018 um 07:50 schrieb Zhang, Jerry (Junwei):
On 08/01/2018 07:31 PM, Christian König wrote:
Start to use the scheduler load balancing for userspace SDMA
command submissions.
In this case, each SDMA could load all SDMA(instances) rqs, and UMD
will not specify a ring id.
If so, we may
On 2018-08-01 09:51 PM, Harry Wentland wrote:
> [Why]
> Some boards seem to have a problem where HPD is high on HDMI even though
> no display is connected. We don't want to report these as connected. DP
> spec still requires us to report DP displays as connected when HPD is
> high but we can't read
On Wed, Aug 1, 2018 at 7:58 PM Christian König <
ckoenig.leichtzumer...@gmail.com> wrote:
> Since we now deal with multiple rq we need to update all of them, not
> just the current one.
>
> Signed-off-by: Christian König
>
Acked-by: Nayan Deshmukh
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.
35 matches
Mail list logo