search for: drm_prime_cap_same_device

Displaying 6 results from an estimated 6 matches for "drm_prime_cap_same_device".

2019 Apr 09
1
[PATCH] drm/qxl: drop prime import/export callbacks
...ting DRM_PRIME_CAP_{IMPORT,EXPORT} even though the driver can't > do that leads to other problems. Userspace thinks it can have other > devices (intel vgpu for example) handle the rendering, then import > the rendered buffer into qxl for scanout. > > Should we add something like DRM_PRIME_CAP_SAME_DEVICE? Yeah I expect we need some sort of same device only capability, so that dri3 userspace can work. If we just fail importing in these cases what happens? userspace just gets confused, I know we used to print a backtrace if we hit the mmap path, but if we didn't do that what happens? Dave.
2019 Apr 09
1
[PATCH] drm/qxl: drop prime import/export callbacks
...ting DRM_PRIME_CAP_{IMPORT,EXPORT} even though the driver can't > do that leads to other problems. Userspace thinks it can have other > devices (intel vgpu for example) handle the rendering, then import > the rendered buffer into qxl for scanout. > > Should we add something like DRM_PRIME_CAP_SAME_DEVICE? Yeah I expect we need some sort of same device only capability, so that dri3 userspace can work. If we just fail importing in these cases what happens? userspace just gets confused, I know we used to print a backtrace if we hit the mmap path, but if we didn't do that what happens? Dave.
2019 Apr 09
2
[PATCH] drm/qxl: drop prime import/export callbacks
On Sat, 12 Jan 2019 at 07:13, Dave Airlie <airlied at gmail.com> wrote: > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann <kraxel at redhat.com> wrote: > > > > Also set prime_handle_to_fd and prime_fd_to_handle to NULL, > > so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to > > userspace. It's been pointed out to me that disables DRI3 for these
2019 Apr 09
2
[PATCH] drm/qxl: drop prime import/export callbacks
On Sat, 12 Jan 2019 at 07:13, Dave Airlie <airlied at gmail.com> wrote: > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann <kraxel at redhat.com> wrote: > > > > Also set prime_handle_to_fd and prime_fd_to_handle to NULL, > > so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to > > userspace. It's been pointed out to me that disables DRI3 for these
2019 Apr 09
0
[PATCH] drm/qxl: drop prime import/export callbacks
Hi, > > Should we add something like DRM_PRIME_CAP_SAME_DEVICE? > > Yeah I expect we need some sort of same device only capability, so > that dri3 userspace can work. > > If we just fail importing in these cases what happens? userspace just > gets confused, I know we used to print a backtrace if we hit the mmap > path, but if we didn'...
2019 Apr 09
0
[PATCH] drm/qxl: drop prime import/export callbacks
...n be used that way. Setting DRM_PRIME_CAP_{IMPORT,EXPORT} even though the driver can't do that leads to other problems. Userspace thinks it can have other devices (intel vgpu for example) handle the rendering, then import the rendered buffer into qxl for scanout. Should we add something like DRM_PRIME_CAP_SAME_DEVICE? cheers, Gerd