intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/nouveau: Disable atomic support on a per-device basis
@ 2018-09-13 16:31 Ville Syrjala
  2018-09-13 16:31 ` [PATCH 2/2] drm/amdgpu: Use per-device driver_features to disable atomic Ville Syrjala
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ville Syrjala @ 2018-09-13 16:31 UTC (permalink / raw)
  To: dri-devel; +Cc: nouveau, intel-gfx, Ben Skeggs, Daniel Vetter

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

We now have per-device driver_features, so let's use that
to disable atomic only for pre-nv50.

Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: nouveau@lists.freedesktop.org
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/dispnv04/disp.c b/drivers/gpu/drm/nouveau/dispnv04/disp.c
index 70dce544984e..670535a68d3b 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/disp.c
+++ b/drivers/gpu/drm/nouveau/dispnv04/disp.c
@@ -56,7 +56,7 @@ nv04_display_create(struct drm_device *dev)
 	nouveau_display(dev)->fini = nv04_display_fini;
 
 	/* Pre-nv50 doesn't support atomic, so don't expose the ioctls */
-	dev->driver->driver_features &= ~DRIVER_ATOMIC;
+	dev->driver_features &= ~DRIVER_ATOMIC;
 
 	nouveau_hw_save_vga_fonts(dev, 1);
 
-- 
2.16.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-09-20 18:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-13 16:31 [PATCH 1/2] drm/nouveau: Disable atomic support on a per-device basis Ville Syrjala
2018-09-13 16:31 ` [PATCH 2/2] drm/amdgpu: Use per-device driver_features to disable atomic Ville Syrjala
2018-09-13 16:38   ` Michel Dänzer
2018-09-13 16:40     ` Alex Deucher
2018-09-13 18:29       ` Ville Syrjälä
2018-09-20 18:55   ` Harry Wentland
2018-09-13 17:26 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/nouveau: Disable atomic support on a per-device basis Patchwork
     [not found] ` <20180913163147.27900-1-ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2018-09-13 21:02   ` [PATCH 1/2] " Lyude Paul
2018-09-14  8:11     ` Daniel Vetter
2018-09-17 17:34       ` Lyude Paul
     [not found]     ` <9df77326cf0ed944e52091230df129a06872696d.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-09-14 15:04       ` Ville Syrjälä
2018-09-14  7:45 ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).