diff options
| author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-03-11 09:11:29 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-17 13:59:05 +0200 |
| commit | 28faa23d2720247b94d3865e5484a4fa757c4567 (patch) | |
| tree | 9909fc0073dd1b8876bdea2b457181cd5d8c1544 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 38a01338db95b0a8a12c77efe86f16c64b74c34b (diff) | |
drm/amd/display: Add NULL plane_state check for cursor disable logic
commit d29fb7baab09b6a1dc484c9c67933253883e770a upstream.
[Why]
While scanning the top_pipe connections we can run into a case where
the bottom pipe is still connected to a top_pipe but with a NULL
plane_state.
[How]
Treat a NULL plane_state the same as the plane being invisible for
pipe cursor disable logic.
Cc: stable@vger.kernel.org
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
