[PATCH] drm/amdgpu: drop the long-double-128 powerpc check/hack

2023-02-01 Thread Daniel Kolesa
last piece of work to enable this was commit c92b7fe0d92a ("drm/amd/display: move remaining FPU code to dml folder") and this has since been backported to 6.1 stable (in 6.1.7). Relevant issue: https://gitlab.freedesktop.org/drm/amd/-/issues/2288 Signed-off-by: Daniel Kolesa ---

Re: [PATCH 1/1] drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal

2020-08-10 Thread Daniel Kolesa
On Mon, Aug 10, 2020, at 17:38, Alex Deucher wrote: > On Sat, Aug 8, 2020 at 4:51 PM Daniel Kolesa wrote: > > > > GFP_KERNEL may and will sleep, and this is being executed in > > a non-preemptible context; this will mess things up since it's > > called inbetween DC_FP_

[PATCH] drm/amd/display: add DCN support for aarch64

2020-08-08 Thread Daniel Kolesa
This adds ARM64 support into the DCN. This mainly enables support for Navi graphics cards. The dcn10 changes haven't been tested, since I don't have the relevant hardware available, but there is no way to conditionally disable them, so I've done them anyway. Signed-off-by: Daniel Kolesa

[PATCH 0/1] drm/amdgpu/display: fix context switch issues in dcn20_validate_bandwidth

2020-08-08 Thread Daniel Kolesa
This is likely the real fix for issues such as https://gitlab.freedesktop.org/drm/amd/-/issues/1215, or perhaps https://gitlab.freedesktop.org/drm/amd/-/issues/1191, and should be probably backported into existing stable trees. Daniel Kolesa (1): drm/amdgpu/display: use GFP_ATOMIC

[PATCH 1/1] drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal

2020-08-08 Thread Daniel Kolesa
registers/instructions are used after the call is resumed in a different context). Signed-off-by: Daniel Kolesa --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers

[PATCH 1/1] drm/amd/display: work around fp code being emitted outside of DC_FP_START/END

2020-04-29 Thread Daniel Kolesa
The dcn20_validate_bandwidth function would have code touching the incorrect registers emitted outside of the boundaries of the DC_FP_START/END macros, at least on ppc64le. Work around the problem by wrapping the whole function instead. Signed-off-by: Daniel Kolesa --- .../drm/amd/display/dc

[PATCH 0/1] Fix Navi cards crashing with FP exception on 5.6+

2020-04-29 Thread Daniel Kolesa
not be possible in a stable tree. The proper solution is already being discussed, it seems: https://lore.kernel.org/lkml/cag48ez2sx4elkm94ad_h_j7k7kboeugmvzlkrkg3n_f2woz...@mail.gmail.com/ Daniel Kolesa (1): drm/amd/display: work around fp code being emitted outside of DC_FP_START/END .../drm

[PATCH] amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags

2020-02-06 Thread Daniel Kolesa
the build will not fail. Signed-off-by: Daniel Kolesa --- drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile b/drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile index b864869..6fa7422 100644