{"action":"opened","number":5901,"pull_request":{"url":"https://api.github.com/repos/mpv-player/mpv/pulls/5901","id":193611210,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNjExMjEw","html_url":"https://github.com/mpv-player/mpv/pull/5901","diff_url":"https://github.com/mpv-player/mpv/pull/5901.diff","patch_url":"https://github.com/mpv-player/mpv/pull/5901.patch","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/5901","number":5901,"state":"open","locked":false,"title":"context_drm_egl: fix atomic crtc release","user":{"login":"xantoz","id":1481451,"node_id":"MDQ6VXNlcjE0ODE0NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1481451?v=4","gravatar_id":"","url":"https://api.github.com/users/xantoz","html_url":"https://github.com/xantoz","followers_url":"https://api.github.com/users/xantoz/followers","following_url":"https://api.github.com/users/xantoz/following{/other_user}","gists_url":"https://api.github.com/users/xantoz/gists{/gist_id}","starred_url":"https://api.github.com/users/xantoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xantoz/subscriptions","organizations_url":"https://api.github.com/users/xantoz/orgs","repos_url":"https://api.github.com/users/xantoz/repos","events_url":"https://api.github.com/users/xantoz/events{/privacy}","received_events_url":"https://api.github.com/users/xantoz/received_events","type":"User","site_admin":false},"body":"The previous code did not save enough, and was using only the legacy call drmModeGetCrtc to save information about the old state. If running with --drm-osd-plane-id=overlay, it could cause the fbcon framebuffer to become associated with the overlay plane, for instance.\r\n\r\nThe new code tries to use atomic calls exclusively when saving the restore state (with the exception of one little drmModeGetCRTC call to get the drmModeModeInfo out, as drmModeGetPropertyBlob was not working reliably for whatever reason).\r\n\r\nI agree that my changes can be relicensed to LGPL 2.1 or later.\r\n","created_at":"2018-06-08T13:17:43Z","updated_at":"2018-06-08T13:17:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mpv-player/mpv/pulls/5901/commits","review_comments_url":"https://api.github.com/repos/mpv-player/mpv/pulls/5901/comments","review_comment_url":"https://api.github.com/repos/mpv-player/mpv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/5901/comments","statuses_url":"https://api.github.com/repos/mpv-player/mpv/statuses/c582726448b5d6621ac3fc935b3c45d3e2c4155f","head":{"label":"xantoz:drm-fix-atomic-crtc-release","ref":"drm-fix-atomic-crtc-release","sha":"c582726448b5d6621ac3fc935b3c45d3e2c4155f","user":{"login":"xantoz","id":1481451,"node_id":"MDQ6VXNlcjE0ODE0NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1481451?v=4","gravatar_id":"","url":"https://api.github.com/users/xantoz","html_url":"https://github.com/xantoz","followers_url":"https://api.github.com/users/xantoz/followers","following_url":"https://api.github.com/users/xantoz/following{/other_user}","gists_url":"https://api.github.com/users/xantoz/gists{/gist_id}","starred_url":"https://api.github.com/users/xantoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xantoz/subscriptions","organizations_url":"https://api.github.com/users/xantoz/orgs","repos_url":"https://api.github.com/users/xantoz/repos","events_url":"https://api.github.com/users/xantoz/events{/privacy}","received_events_url":"https://api.github.com/users/xantoz/received_events","type":"User","site_admin":false},"repo":{"id":94358561,"node_id":"MDEwOlJlcG9zaXRvcnk5NDM1ODU2MQ==","name":"mpv","full_name":"xantoz/mpv","owner":{"login":"xantoz","id":1481451,"node_id":"MDQ6VXNlcjE0ODE0NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1481451?v=4","gravatar_id":"","url":"https://api.github.com/users/xantoz","html_url":"https://github.com/xantoz","followers_url":"https://api.github.com/users/xantoz/followers","following_url":"https://api.github.com/users/xantoz/following{/other_user}","gists_url":"https://api.github.com/users/xantoz/gists{/gist_id}","starred_url":"https://api.github.com/users/xantoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xantoz/subscriptions","organizations_url":"https://api.github.com/users/xantoz/orgs","repos_url":"https://api.github.com/users/xantoz/repos","events_url":"https://api.github.com/users/xantoz/events{/privacy}","received_events_url":"https://api.github.com/users/xantoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xantoz/mpv","description":"Personal working copy of mpv-player/mpv","fork":true,"url":"https://api.github.com/repos/xantoz/mpv","forks_url":"https://api.github.com/repos/xantoz/mpv/forks","keys_url":"https://api.github.com/repos/xantoz/mpv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xantoz/mpv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xantoz/mpv/teams","hooks_url":"https://api.github.com/repos/xantoz/mpv/hooks","issue_events_url":"https://api.github.com/repos/xantoz/mpv/issues/events{/number}","events_url":"https://api.github.com/repos/xantoz/mpv/events","assignees_url":"https://api.github.com/repos/xantoz/mpv/assignees{/user}","branches_url":"https://api.github.com/repos/xantoz/mpv/branches{/branch}","tags_url":"https://api.github.com/repos/xantoz/mpv/tags","blobs_url":"https://api.github.com/repos/xantoz/mpv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xantoz/mpv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xantoz/mpv/git/refs{/sha}","trees_url":"https://api.github.com/repos/xantoz/mpv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xantoz/mpv/statuses/{sha}","languages_url":"https://api.github.com/repos/xantoz/mpv/languages","stargazers_url":"https://api.github.com/repos/xantoz/mpv/stargazers","contributors_url":"https://api.github.com/repos/xantoz/mpv/contributors","subscribers_url":"https://api.github.com/repos/xantoz/mpv/subscribers","subscription_url":"https://api.github.com/repos/xantoz/mpv/subscription","commits_url":"https://api.github.com/repos/xantoz/mpv/commits{/sha}","git_commits_url":"https://api.github.com/repos/xantoz/mpv/git/commits{/sha}","comments_url":"https://api.github.com/repos/xantoz/mpv/comments{/number}","issue_comment_url":"https://api.github.com/repos/xantoz/mpv/issues/comments{/number}","contents_url":"https://api.github.com/repos/xantoz/mpv/contents/{+path}","compare_url":"https://api.github.com/repos/xantoz/mpv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xantoz/mpv/merges","archive_url":"https://api.github.com/repos/xantoz/mpv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xantoz/mpv/downloads","issues_url":"https://api.github.com/repos/xantoz/mpv/issues{/number}","pulls_url":"https://api.github.com/repos/xantoz/mpv/pulls{/number}","milestones_url":"https://api.github.com/repos/xantoz/mpv/milestones{/number}","notifications_url":"https://api.github.com/repos/xantoz/mpv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xantoz/mpv/labels{/name}","releases_url":"https://api.github.com/repos/xantoz/mpv/releases{/id}","deployments_url":"https://api.github.com/repos/xantoz/mpv/deployments","created_at":"2017-06-14T17:54:50Z","updated_at":"2018-05-17T10:02:30Z","pushed_at":"2018-06-08T13:13:27Z","git_url":"git://github.com/xantoz/mpv.git","ssh_url":"git@github.com:xantoz/mpv.git","clone_url":"https://github.com/xantoz/mpv.git","svn_url":"https://github.com/xantoz/mpv","homepage":"https://mpv.io","size":89361,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mpv-player:master","ref":"master","sha":"bca59516cc172e72a606b01b783added9c45dfb8","user":{"login":"mpv-player","id":2550273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NTAyNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2550273?v=4","gravatar_id":"","url":"https://api.github.com/users/mpv-player","html_url":"https://github.com/mpv-player","followers_url":"https://api.github.com/users/mpv-player/followers","following_url":"https://api.github.com/users/mpv-player/following{/other_user}","gists_url":"https://api.github.com/users/mpv-player/gists{/gist_id}","starred_url":"https://api.github.com/users/mpv-player/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpv-player/subscriptions","organizations_url":"https://api.github.com/users/mpv-player/orgs","repos_url":"https://api.github.com/users/mpv-player/repos","events_url":"https://api.github.com/users/mpv-player/events{/privacy}","received_events_url":"https://api.github.com/users/mpv-player/received_events","type":"Organization","site_admin":false},"repo":{"id":6201092,"node_id":"MDEwOlJlcG9zaXRvcnk2MjAxMDky","name":"mpv","full_name":"mpv-player/mpv","owner":{"login":"mpv-player","id":2550273,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NTAyNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2550273?v=4","gravatar_id":"","url":"https://api.github.com/users/mpv-player","html_url":"https://github.com/mpv-player","followers_url":"https://api.github.com/users/mpv-player/followers","following_url":"https://api.github.com/users/mpv-player/following{/other_user}","gists_url":"https://api.github.com/users/mpv-player/gists{/gist_id}","starred_url":"https://api.github.com/users/mpv-player/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpv-player/subscriptions","organizations_url":"https://api.github.com/users/mpv-player/orgs","repos_url":"https://api.github.com/users/mpv-player/repos","events_url":"https://api.github.com/users/mpv-player/events{/privacy}","received_events_url":"https://api.github.com/users/mpv-player/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mpv-player/mpv","description":"🎥 Video player based on MPlayer/mplayer2","fork":false,"url":"https://api.github.com/repos/mpv-player/mpv","forks_url":"https://api.github.com/repos/mpv-player/mpv/forks","keys_url":"https://api.github.com/repos/mpv-player/mpv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpv-player/mpv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpv-player/mpv/teams","hooks_url":"https://api.github.com/repos/mpv-player/mpv/hooks","issue_events_url":"https://api.github.com/repos/mpv-player/mpv/issues/events{/number}","events_url":"https://api.github.com/repos/mpv-player/mpv/events","assignees_url":"https://api.github.com/repos/mpv-player/mpv/assignees{/user}","branches_url":"https://api.github.com/repos/mpv-player/mpv/branches{/branch}","tags_url":"https://api.github.com/repos/mpv-player/mpv/tags","blobs_url":"https://api.github.com/repos/mpv-player/mpv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpv-player/mpv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpv-player/mpv/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpv-player/mpv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpv-player/mpv/statuses/{sha}","languages_url":"https://api.github.com/repos/mpv-player/mpv/languages","stargazers_url":"https://api.github.com/repos/mpv-player/mpv/stargazers","contributors_url":"https://api.github.com/repos/mpv-player/mpv/contributors","subscribers_url":"https://api.github.com/repos/mpv-player/mpv/subscribers","subscription_url":"https://api.github.com/repos/mpv-player/mpv/subscription","commits_url":"https://api.github.com/repos/mpv-player/mpv/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpv-player/mpv/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpv-player/mpv/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpv-player/mpv/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpv-player/mpv/contents/{+path}","compare_url":"https://api.github.com/repos/mpv-player/mpv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpv-player/mpv/merges","archive_url":"https://api.github.com/repos/mpv-player/mpv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpv-player/mpv/downloads","issues_url":"https://api.github.com/repos/mpv-player/mpv/issues{/number}","pulls_url":"https://api.github.com/repos/mpv-player/mpv/pulls{/number}","milestones_url":"https://api.github.com/repos/mpv-player/mpv/milestones{/number}","notifications_url":"https://api.github.com/repos/mpv-player/mpv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpv-player/mpv/labels{/name}","releases_url":"https://api.github.com/repos/mpv-player/mpv/releases{/id}","deployments_url":"https://api.github.com/repos/mpv-player/mpv/deployments","created_at":"2012-10-13T08:08:44Z","updated_at":"2018-06-08T10:42:25Z","pushed_at":"2018-06-07T14:22:41Z","git_url":"git://github.com/mpv-player/mpv.git","ssh_url":"git@github.com:mpv-player/mpv.git","clone_url":"https://github.com/mpv-player/mpv.git","svn_url":"https://github.com/mpv-player/mpv","homepage":"https://mpv.io","size":89269,"stargazers_count":7965,"watchers_count":7965,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1077,"mirror_url":null,"archived":false,"open_issues_count":494,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1077,"open_issues":494,"watchers":7965,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mpv-player/mpv/pulls/5901"},"html":{"href":"https://github.com/mpv-player/mpv/pull/5901"},"issue":{"href":"https://api.github.com/repos/mpv-player/mpv/issues/5901"},"comments":{"href":"https://api.github.com/repos/mpv-player/mpv/issues/5901/comments"},"review_comments":{"href":"https://api.github.com/repos/mpv-player/mpv/pulls/5901/comments"},"review_comment":{"href":"https://api.github.com/repos/mpv-player/mpv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mpv-player/mpv/pulls/5901/commits"},"statuses":{"href":"https://api.github.com/repos/mpv-player/mpv/statuses/c582726448b5d6621ac3fc935b3c45d3e2c4155f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":261,"deletions":82,"changed_files":6}}
{"actor":{"display_login":"xantoz"}}