Files
linux/drivers/gpu/drm
Charles Han 820116a39f drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialize_mc_reg_table
The function atomctrl_initialize_mc_reg_table() and
atomctrl_initialize_mc_reg_table_v2_2() does not check the return
value of smu_atom_get_data_table(). If smu_atom_get_data_table()
fails to retrieve vram_info, it returns NULL which is later
dereferenced.

Fixes: b3892e2bb5 ("drm/amd/pp: Use atombios api directly in powerplay (v2)")
Fixes: 5f92b48cf6 ("drm/amd/pm: add mc register table initialization")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-04-07 15:18:58 -04:00
..
2025-02-18 07:43:43 +01:00
2025-02-05 10:10:51 -03:00
2025-03-08 02:16:49 +02:00
2025-01-24 09:41:01 +02:00
2025-03-05 17:08:59 +01:00
2025-02-12 09:55:50 -03:00
2025-02-09 20:36:51 +03:00
2025-01-23 14:42:21 +01:00
2025-01-08 01:39:58 +02:00
2025-02-13 12:15:43 -05:00
2025-03-12 20:53:47 -07:00
2024-10-08 10:00:30 +02:00
2024-06-24 17:08:53 +03:00
2024-11-03 01:28:06 -05:00