Skip to content
Commit fbd7cda0 authored by Daniel Kolesa's avatar Daniel Kolesa Committed by Alex Deucher
Browse files

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: default avatarDaniel Kolesa <daniel@octaforge.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8db2d634
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment