diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2023-09-21 16:15:15 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-09 16:47:59 -0400 |
| commit | 941e8036a450bc7ae8517ceb6dbd9135046f4ad8 (patch) | |
| tree | b4b82334aeb1ffd580af26aad39062bd9ab9a5cf /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 80364500c02367cd0901c2d6e0d5d1e3e3e42abc (diff) | |
| download | linux-941e8036a450bc7ae8517ceb6dbd9135046f4ad8.tar.gz linux-941e8036a450bc7ae8517ceb6dbd9135046f4ad8.zip | |
drm/amd/display: Move the memory allocation out of dcn21_validate_bandwidth_fp().
dcn21_validate_bandwidth_fp() is invoked while FPU access has been
enabled. FPU access requires disabling preemption even on PREEMPT_RT.
It is not possible to allocate memory with disabled preemption even with
GFP_ATOMIC on PREEMPT_RT.
Move the memory allocation before FPU access is enabled.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217928
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
