Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp703712pxu; Wed, 2 Dec 2020 00:50:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdpQwfOukjCU13lxjRL6ObFa7yrkmbzDLPrNKH6M+9mdTvppwqxIKpCIwakQnBkEMKMIoC X-Received: by 2002:a17:906:d72:: with SMTP id s18mr1424378ejh.110.1606899023794; Wed, 02 Dec 2020 00:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606899023; cv=none; d=google.com; s=arc-20160816; b=CpcHL48ZiLEXT5d6Uh2zaD62zWiMNY1pWu7Dk/nQQcofN0Ygxu4UzN0jyZzdEj/tGC tuXzxh+Bj83weNZnFk7ZZPW/wkTfLm102l16302sPY0zLF88KNaWPUXcfkTveJg7TGSb ig0Bp+AG75vSKlJSTjimeas3roMfD0Z/tVjGtOSYnUShp+BnWu2fSvUlURdE2t+WDn1I y/npzItpn+0VAaFfcpqZrz9fPjYGhFGi0dKYuyQzJkjqotZ4g3/t85jT8HNwiwWmZLZi zDamPCWx5Ropl21QAsNFbi9smSdcG2EIVbytxh1dFOJcl+flxf7U33o8rLVEnt69sV1o +CKQ== 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=CO+qXbTxfEj8kpOtJ8aikaa7XueIG5f7n5gVaBB0Cc4=; b=wrqJw9qlhGCCMc0UDcNeNemRBkXDd9hLqcUodvGaIGBM0vsaPc8tlTc6vGetGhTORB 9xJsAZCzbEn2Ew5kCZrT9bK+U0QGCDgbv1geDSe4dvncB7VXYn/94IKwpfkBoYGG3Tj9 +JqnRpHcWb9q9OTAPHZJz22WN6cuUbztQTI+wR7joLw278P2pCDDUxQGA6+CZcvxadY8 P59G/2adkIucAhm8oZpBr3x3usoJwcqwdnzJGaCJPBJ/xxeoVOTvsoKniO60I/bsmg4h khkky9e+ZoSZxHVcgH5PqAjSIw1CX3JS4Ayc9X38aaqryQlvF8TMoQwGx/UYogaMDwSZ KQTg== 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 b7si403231ejq.611.2020.12.02.00.50.00; Wed, 02 Dec 2020 00:50:23 -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 S2387932AbgLBIrt (ORCPT + 99 others); Wed, 2 Dec 2020 03:47:49 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:8903 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729213AbgLBIro (ORCPT ); Wed, 2 Dec 2020 03:47:44 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CmCHv4LZ0z76g2; Wed, 2 Dec 2020 16:46:35 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 2 Dec 2020 16:46:58 +0800 From: Tian Tao To: , , , , , , , , , CC: Subject: [PATCH drm/hisilicon 0/3] Add the new api to install irq Date: Wed, 2 Dec 2020 16:47:12 +0800 Message-ID: <1606898835-40775-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 is code refactorings to use devm_drm_dev_alloc. patch #2 add the new api to install irq, patch #3 is hibmc driver uses the newly added api to register interrupts. Tian Tao (3): drm/hisilicon: Code refactoring for hibmc_drm_drv drm/irq: Add the new api to install irq drm/hisilicon: Use the new api devm_drm_irq_install drivers/gpu/drm/drm_irq.c | 35 ++++++++++++++++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 51 ++++++++++-------------- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 4 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 8 ++-- include/drm/drm_irq.h | 2 +- 7 files changed, 67 insertions(+), 37 deletions(-) -- 2.7.4