Displaying 2 results from an estimated 2 matches for "72fdba1a1c5d".
2017 Mar 29
1
[PATCH 1/6] drm/nouveau: Fail fb creation from imported dma-bufs.
...ames Halse Rogers <christopher.halse.rogers at canonical.com>
CC: nouveau at lists.freedesktop.org
---
drivers/gpu/drm/nouveau/nouveau_display.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index 72fdba1a1c5d..e8e6bc7b6d51 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -286,6 +286,10 @@ nouveau_user_framebuffer_create(struct drm_device *dev,
return ERR_PTR(-ENOENT);
nvbo = nouveau_gem_object(gem);
+ /* Handle is an imported dma-buf, so ca...
2017 Jul 31
2
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
...turn drm_gem_handle_create(file_priv,
- msm_fb->planes[0], handle);
+ msm_fb->planes[format_plane_index], handle);
}
static void msm_framebuffer_destroy(struct drm_framebuffer *fb)
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index 72fdba1a1c5d..bc30c0d3d9cd 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -237,6 +237,7 @@ nouveau_user_framebuffer_destroy(struct drm_framebuffer *drm_fb)
static int
nouveau_user_framebuffer_create_handle(struct drm_framebuffer *drm_fb,
+...