fix(linux): drop implicit DRM master for card fds (#5286)
Co-authored-by: Kishi85 <41839133+Kishi85@users.noreply.github.com>
This commit is contained in:
@@ -436,10 +436,8 @@ namespace platf {
|
||||
*/
|
||||
int init(const char *path) {
|
||||
cap_sys_admin admin;
|
||||
fd.el = open(path, O_RDWR);
|
||||
|
||||
fd.el = open_drm_card_fd(path);
|
||||
if (fd.el < 0) {
|
||||
BOOST_LOG(error) << "Couldn't open: "sv << path << ": "sv << strerror(errno);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user