Skip to content

rocr: Fix restoring SCHED_MODE in gfx12 trap handler#3255

Open
lancesix wants to merge 1 commit intodevelopfrom
users/lanceix/fix-restoring-sched-mode
Open

rocr: Fix restoring SCHED_MODE in gfx12 trap handler#3255
lancesix wants to merge 1 commit intodevelopfrom
users/lanceix/fix-restoring-sched-mode

Conversation

@lancesix
Copy link
Contributor

The code to restore SCHED_MODE on exit has an issue and incorrectly restores advanced scheduling mode unconditionally. Fix this and restore the expected value.

The code to restore SCHED_MODE on exit has an issue and incorrectly
restores advanced scheduling mode unconditionally.  Fix this and restore
the expected value.

Co-authored-by: Laurent Morichetti <laurent.morichetti@amd.com>
Copy link
Contributor

@shwetagkhatri shwetagkhatri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct fix to me. Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants