Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932405AbbFWJqO (ORCPT ); Tue, 23 Jun 2015 05:46:14 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:34348 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752921AbbFWJqB (ORCPT ); Tue, 23 Jun 2015 05:46:01 -0400 Date: Tue, 23 Jun 2015 11:48:47 +0200 From: Daniel Vetter To: Daniel Stone Cc: Fabio Coatti , David Airlie , dri-devel , kernel list Subject: Re: Linux 4.1 WARNING in drm_ioctl.c Message-ID: <20150623094847.GR25769@phenom.ffwll.local> Mail-Followup-To: Daniel Stone , Fabio Coatti , David Airlie , dri-devel , kernel list References: <34169093.qYXxFR1FLt@calvin> <20150623063947.GN25769@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 4.0.0-rc3+ User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 34 On Tue, Jun 23, 2015 at 08:27:13AM +0100, Daniel Stone wrote: > Hi, > > On 23 June 2015 at 07:39, Daniel Vetter wrote: > > Which drm driver are you using? I didn't spot anything in your module list > > but might have missed it. Booting with drm.debug=0xe and grabbing dmesg > > will tell us for sure. > > That'd be vgem. If so then the below diff should help. -Daniel diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 7a207ca547be..b491fb32cddb 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -328,6 +328,8 @@ static int __init vgem_init(void) goto out; } + drm_dev_set_unique(drm, "vgem"); + ret = drm_dev_register(vgem_device, 0); if (ret) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/