Skip to content

/drm/amd/display Fix memory leak from bad dp cables#217

Open
loosestrife wants to merge 1 commit into
ROCm:masterfrom
loosestrife:master
Open

/drm/amd/display Fix memory leak from bad dp cables#217
loosestrife wants to merge 1 commit into
ROCm:masterfrom
loosestrife:master

Conversation

@loosestrife
Copy link
Copy Markdown

Some objects were orphaned if the link died early.

Motivation

fixing this memory leak
image

Technical Details

So, I have a flaky dp cable and a 165Hz monitor. Because the link died during validation before the streams were committed to the display manager, the GTT entry would be left orphaned. So, I added some code to clean up the allocated objects.

Test Plan

I'm new here and don't know what further tests to run.

Test Result

image

Submission Checklist

If the dp cable couldn't validate the mode timing, some objects, including GTT
entires, werent being cleaned up.

Signed-off-by: Tom Donahue <tomdonahue38@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant