diff options
| author | Daniel Kolesa <[email protected]> | 2020-08-08 20:42:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-08-10 22:09:46 +0000 |
| commit | f41ed88cbd6f025f7a683a11a74f901555fba11c (patch) | |
| tree | e3886c2a9f167a809e344485d4747d5f9b31d8d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amd/display: Blank stream before destroying HDCP session (diff) | |
| download | kernel-f41ed88cbd6f025f7a683a11a74f901555fba11c.tar.gz kernel-f41ed88cbd6f025f7a683a11a74f901555fba11c.zip | |
drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
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_START/END, and rescheduling will result
in the DC_FP_END later being called in a different context (or
just crashing if any floating point/vector registers/instructions
are used after the call is resumed in a different context).
Signed-off-by: Daniel Kolesa <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
