On Wed, Apr 15, 2015 at 02:22:54PM +0000, Antoine, Peter wrote: > Hi Daniel, > > I am having a look at this now, as have some time. > > So, to sum up what I think you want. > 1. Re-base and apply the patches (so that the known holes are closed in > the Nouveau driver). > 2. Add DRIVER_KMS_LEGACY_CONTEXT to include/drm/drmP.h > 3. Add DRIVER_KMS_LEGACY_CONTEXT to .driver_features in file > drivers/gpu/drm/nouveau/nouveau_drm.h. > 4. Change all the hw_lock IOCTL functions to have: > + if (!drm_core_check_feature(dev, DRIVER_KMS_LEGACY_CONTEXT)) > + return -EINVAL; > + > 5. Add an igt test, that would induce the crash on platforms that are > not patched and have DRIVER_KMS_LEGACY_CONTEXT enabled? > > Is this about right? Sounds like a solid plan. When you send out the patch please also cc dri-devel since this will all touch code outside of i915. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx