diff options
| author | Taimur Hassan <syed.hassan@amd.com> | 2023-06-21 00:00:28 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 18:13:55 +0300 |
| commit | ab02d4ae4a4313568761b4877a2eee3e7579ef34 (patch) | |
| tree | c3b4babd49eeab165ab8588062338386231e796b /tools/perf/scripts/python/flamegraph.py | |
| parent | e198a746fc1bc009e3f0e7b9436553ccdd4f6cc1 (diff) | |
| download | linux-ab02d4ae4a4313568761b4877a2eee3e7579ef34.tar.xz | |
drm/amd/display: check TG is non-null before checking if enabled
[Why & How]
If there is no TG allocation we can dereference a NULL pointer when
checking if the TG is enabled.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Taimur Hassan <syed.hassan@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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
