summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoman Li <Roman.Li@amd.com>2025-04-14 19:56:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-05-05 19:54:37 +0300
commitbd3e84bc98f81b44f2c43936bdadc3241d654259 (patch)
tree8439f43c531ebd15b408ff70e9df864b7253b88c /tools/perf/scripts/python/export-to-postgresql.py
parent19860f49393dde1997f0487378e4cfee8b14d5c0 (diff)
downloadlinux-bd3e84bc98f81b44f2c43936bdadc3241d654259.tar.xz
drm/amd/display: Fix invalid context error in dml helper
[Why] "BUG: sleeping function called from invalid context" error. after: "drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()" The populate_dml_plane_cfg_from_plane_state() uses the GFP_KERNEL flag for memory allocation, which shouldn't be used in atomic contexts. The allocation is needed only for using another helper function get_scaler_data_for_plane(). [How] Modify helpers to pass a pointer to scaler_data within existing context, eliminating the need for dynamic memory allocation/deallocation and copying. Fixes: 366e77cd4923 ("drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()") Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Roman Li <Roman.Li@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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions