diff options
author | Daniel Kolesa <daniel@octaforge.org> | 2020-08-08 22:42:35 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-10 17:26:52 -0400 |
commit | fbd7cda0e61e25a5714d7b3b4dd3524271bc2245 (patch) | |
tree | 3bcc2a052f313686286be78c65cd6e6f944f2a95 /drivers/gpu/drm/amd/display/dc/dcn20/Makefile | |
parent | 8db2d634ed29eeaed56fdbeaf63da7ae9e65280b (diff) |
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 <daniel@octaforge.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn20/Makefile')
0 files changed, 0 insertions, 0 deletions