From patchwork Fri Apr 11 06:56:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 3967261 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3F3A2BFF02 for ; Fri, 11 Apr 2014 10:02:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10C7820814 for ; Fri, 11 Apr 2014 10:02:40 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B325C2080F for ; Fri, 11 Apr 2014 10:02:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5BE278A57A; Fri, 11 Apr 2014 03:02:37 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 365 seconds by postgrey-1.34 at gabe; Fri, 11 Apr 2014 00:02:40 PDT Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.219]) by gabe.freedesktop.org (Postfix) with ESMTP id EE18D6ECEF for ; Fri, 11 Apr 2014 00:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1397199760; l=742; s=domk; d=aepfle.de; h=Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=G5+kFioJQ8+9YrBApv+Zc2+i4rA=; b=ILEOMCCO93k4ysgyx6vN7cmDvsT5D+xnKS4NelOZ2sYAqk51/eBL2u2ORAlyk+xs01X +Ne5EFMeTVg0s2rSyxLKgyHequuH3yWFSiuRJfVy89MAp4eYeDngdXoY+eG2jV14lrH+5 L8K+7XwdbjbSErMJcFAJSmjo7sE7wWQXeTs= X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnBYfssBY5SQsSl9CXp8arK9v39HhxlZ/qveXkfVo4YvQ== X-RZG-CLASS-ID: mo00 Received: from probook.fritz.box ([2001:a60:1010:4601:1ec1:deff:fe91:f51c]) by smtp.strato.de (RZmta 32.33 AUTH) with ESMTPSA id 501383q3B6uU7af (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate); Fri, 11 Apr 2014 08:56:30 +0200 (CEST) Received: by probook.fritz.box (Postfix, from userid 1000) id 3B6C550279; Fri, 11 Apr 2014 08:56:30 +0200 (CEST) From: Olaf Hering To: airlied@linux.ie Subject: [PATCH] drm/cirrus: bind also to qemu-xen-traditional Date: Fri, 11 Apr 2014 08:56:23 +0200 Message-Id: <1397199383-30186-1-git-send-email-olaf@aepfle.de> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Fri, 11 Apr 2014 03:02:25 -0700 Cc: Olaf Hering , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card. Signed-off-by: Olaf Hering --- drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.c b/drivers/gpu/drm/cirrus/cirrus_drv.c index 953fc8a..8555548 100644 --- a/drivers/gpu/drm/cirrus/cirrus_drv.c +++ b/drivers/gpu/drm/cirrus/cirrus_drv.c @@ -31,6 +31,8 @@ static struct drm_driver driver; static DEFINE_PCI_DEVICE_TABLE(pciidlist) = { { PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, 0x1af4, 0x1100, 0, 0, 0 }, + { PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, PCI_VENDOR_ID_XEN, + 0x0001, 0, 0, 0 }, {0,} };