]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove unnecessary DC_FP_START/DC_FP_END
authorAlex Hung <alex.hung@amd.com>
Wed, 23 Apr 2025 16:02:11 +0000 (10:02 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 May 2025 16:58:30 +0000 (12:58 -0400)
commit94da0735b67b3ada90a3e2e017d306f070306f1d
tree7dab2d68dc3e0f0d0e8d699132b52724472e6efd
parenta9cbeb6059e93ff893f79e42bf952c3fbb5eafdf
drm/amd/display: Remove unnecessary DC_FP_START/DC_FP_END

[WHY & HOW]
Remove the unnecessary DC_FP_START/DC_FP_END pair to reduce time in
preempt_disable. It also fixes "BUG: sleeping function called from
invalid context" error messages because of calling kzalloc with
GFP_KERNEL which can sleep.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c