-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use old DRM cursor API as a placeholder for the atomic KMS hardware cursor #3665
Use old DRM cursor API as a placeholder for the atomic KMS hardware cursor #3665
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that looks about right.
You can remove all the cursor plane stuff, and it needs conflicts resolving (there's locking around the current configuration, now).
8354a3c
to
a1a0bcb
Compare
a1a0bcb
to
5d9d914
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the mis-locking, this looks good. (Notably, in case anyone else wants to review, the major diff in cursor.cpp
and cursor.h
are a straight copy + namespace change of the same files from gbm-kms).
Co-authored-by: Christopher James Halse Rogers <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just nitpicking
After a discussion with Chris, we concluded that `set_cursor`'s return value does not matter (i.e. we can't do much about an error except logging it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that's resolved the comments.
This code will act as a placeholder temporarily until we implement damage, at which point, the real atomic KMS cursor code (#3615) can be updated and merged.