Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3302361pxu; Tue, 15 Dec 2020 03:53:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNFCpjCt7wJZixwqLOpYjqNXOijLeHM/wnQkFLLwQ5+5llxNtIBHojrlCPOCaNUAsHVJh5 X-Received: by 2002:a17:907:414c:: with SMTP id od20mr26187287ejb.75.1608033205993; Tue, 15 Dec 2020 03:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608033205; cv=none; d=google.com; s=arc-20160816; b=kZNo95IiDIK4Qb5lkd5cEi5bN3Gl0h+MflI36NiPMi7YB9rV9CwhKqvza7vECTBKah x77KfqJIvBS1J7kKq2CZOSKQWhlzwMdzojwkvcstlgV3E0RYypym1uqWJ3D9RIUhPqvv jS6EnxViKTaEcvYtnoOGKZa89TcJkBOY5WXaPCrWRC5GG/PTPLtUzdF0c0QflRS30z01 cXVHtvucJLQfVyARmw1TBL5+sY+K1ctGE2bquqW0C+s5Vr1u56neFO05D05zt7mhQ8X+ 66VfC8YxUy9Hq+5xJS+l9DO45Dl2YReuBqQZz5UYvZAU79fqzkovLkV8GT77HVu6Ysh2 Ee1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=cU7sc7rUNYzYoPRQBmiJ2rbLerpKcZoZEaj+mqlWOSg=; b=DNNU17MT+MrmjaRBnAy3DF33h0Bamh0OH27cuaP5ddPXPrprEG1EQYRJ9LWdQaoTdt kpovP1ViQrMbznaLxQp+E+qTfX5IMtM8rmWL1bia1SP3ONJGjPfbqv5IlxqZMIr0Babr qWlwZ3jYtSmP8KavsJzxBOENuZ7LoV/t9X+9bUPpk6ep8nli234/t4wOGyTyWWKbKplM yookg6J4flUTukWyP/L6qrp8QxiL1v6CiY2zHCLIf6BLk8tGevmEUUBAirJsBK+TY3iV xb2TzXmHlY7wu0iCyn9IGltt7i8G6ZckjkZJE0JJlksdiCe6iVm5xEIzmo1fryDZWKrX tXBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh12si779602ejb.48.2020.12.15.03.53.02; Tue, 15 Dec 2020 03:53:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728854AbgLOLuP (ORCPT + 99 others); Tue, 15 Dec 2020 06:50:15 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:9447 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726544AbgLOLuA (ORCPT ); Tue, 15 Dec 2020 06:50:00 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4CwGjd67mFzhsGB; Tue, 15 Dec 2020 19:48:21 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Tue, 15 Dec 2020 19:48:44 +0800 From: Tian Tao To: , , , , , , , , CC: Tian Tao Subject: [PATCH drm/hisilicon 0/2] Add the new api to enable msi Date: Tue, 15 Dec 2020 19:48:51 +0800 Message-ID: <1608032933-50187-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org patch #1 add the new api to enable pci mis. patch #2 is hibmc driver uses the newly added api to enable msi. Tian Tao (2): drm/irq: Add the new api to enable pci msi drm/hisilicon: Use the new api devm_drm_msi_install drivers/gpu/drm/drm_irq.c | 33 +++++++++++++++++++++++++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 +-- include/drm/drm_irq.h | 1 + 3 files changed, 35 insertions(+), 2 deletions(-) -- 2.7.4