Skip to content
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

windowing/gbm: authorize drm master if drmSetMaster fails #14714

Merged
merged 1 commit into from
Oct 27, 2018

Conversation

lrusak
Copy link
Contributor

@lrusak lrusak commented Oct 25, 2018

drmSetMaster will fail if there is another master already present.

The documentation on this seems limited though as it also seems to require SYS_CAP_ADMIN (root privileges).

So if this fails we want to authorize with the current drm master. I'm not sure why modesetting was working before but this makes it explicit (could be due to systemd doing something with logind, I'm not sure).

ref: [1] [2]

@lrusak lrusak added Type: Improvement non-breaking change which improves existing functionality Platform: Linux v18 Leia labels Oct 25, 2018
@lrusak lrusak added this to the Leia 18.0-beta5 milestone Oct 25, 2018
@a1rwulf
Copy link
Member

a1rwulf commented Oct 26, 2018

LGTM

@lrusak lrusak merged commit dcbc569 into xbmc:master Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Linux Type: Improvement non-breaking change which improves existing functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants