diff options
author | Sung Joon Kim <sungkim@amd.com> | 2021-11-04 16:52:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-17 16:58:08 -0500 |
commit | 4cbe435dd68884a9f6669fceb20f3e70a70c7702 (patch) | |
tree | 0d3406703a157a644550ed8594a9f82b2e09e70c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e43098f6abb033142810e695c1b3d9cf61e19849 (diff) |
drm/amd/display: retain/release stream pointer in link enc table
[why]
At every reference to stream pointer, we need to increment/decrement the
kref_count. Not doing so will result in invalid stream pointer still
alive after hibernate cycle.
[how]
Call stream retain/release whenever the link encoder assignment is set
to true/false since it indicates if we want to reference the stream
pointer or not.
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@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