{"action":"created","issue":{"url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/1","repository_url":"https://api.github.com/repos/ipts-linux-org/ipts-linux","labels_url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/1/comments","events_url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/1/events","html_url":"https://github.com/ipts-linux-org/ipts-linux/issues/1","id":168498846,"number":1,"title":"Update to build on recent intel-drm-next","user":{"login":"peter-sa","id":7191680,"avatar_url":"https://avatars.githubusercontent.com/u/7191680?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-sa","html_url":"https://github.com/peter-sa","followers_url":"https://api.github.com/users/peter-sa/followers","following_url":"https://api.github.com/users/peter-sa/following{/other_user}","gists_url":"https://api.github.com/users/peter-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-sa/subscriptions","organizations_url":"https://api.github.com/users/peter-sa/orgs","repos_url":"https://api.github.com/users/peter-sa/repos","events_url":"https://api.github.com/users/peter-sa/events{/privacy}","received_events_url":"https://api.github.com/users/peter-sa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-31T03:06:53Z","updated_at":"2016-07-31T03:06:58Z","closed_at":null,"body":"This patch set requires several changes to the i915 driver, which has changed a lot in recent DRM trees, making the patch set fail to apply cleanly.  Most devices shipping with Precise Touch also use Skylake processors, and skylake graphics stability has also improved drastically with these changes, making the ability to use more recent kernels very desirable.\r\n\r\nI am working on trying to forward-port the i915 changes, although I haven't worked on the driver before and so may make some egregious mistakes."},"comment":{"url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/comments/236405780","html_url":"https://github.com/ipts-linux-org/ipts-linux/issues/1#issuecomment-236405780","issue_url":"https://api.github.com/repos/ipts-linux-org/ipts-linux/issues/1","id":236405780,"user":{"login":"peter-sa","id":7191680,"avatar_url":"https://avatars.githubusercontent.com/u/7191680?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-sa","html_url":"https://github.com/peter-sa","followers_url":"https://api.github.com/users/peter-sa/followers","following_url":"https://api.github.com/users/peter-sa/following{/other_user}","gists_url":"https://api.github.com/users/peter-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-sa/subscriptions","organizations_url":"https://api.github.com/users/peter-sa/orgs","repos_url":"https://api.github.com/users/peter-sa/repos","events_url":"https://api.github.com/users/peter-sa/events{/privacy}","received_events_url":"https://api.github.com/users/peter-sa/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T03:06:58Z","updated_at":"2016-07-31T03:06:58Z","body":"\r\nA number of very small changes related to name changes and substitutions of `drm_i915_private` for `drm_device` are required, which I have had some luck with.\r\n\r\nThe first major issue that I've noticed is that `vmapping_count` and `dma_buf_vmapping` have been removed from `drm_i915_private` (commit 0a798eb92e6dcc1cba45d13d7b75a523e5d0fc4c \"drm/i915: Refactor duplicate object vmap functions\").  This patch seems to remove the `vmapping_count` used for the lifetime of the `dma_buf_vmapping` and instead decide when to map/unmap the new single `mapping` based on the lifetime of `obj->pages`.\r\n\r\n`itouch_object_map` and `itouch_object_unmap` do not use `i915_gem_get_pages` and `i915_gem_object_pin_pages`/`i915_gem_object_unpin_pages`, so it looks to me like the lifetime of this mapping shouldn't be coupled to the page lifetime.  If this is true, I am unsure what the correct fix is here."}}
{"actor":{"display_login":"peter-sa"}}