Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3255251pxu; Sat, 19 Dec 2020 18:41:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0qcBipG4M3YeqsB3O5dzfP73lVS1zqET2A1h23A8B06iozAFTVgggzQCrgumT5md6XNjp X-Received: by 2002:a17:906:6606:: with SMTP id b6mr10200981ejp.151.1608432090978; Sat, 19 Dec 2020 18:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608432090; cv=none; d=google.com; s=arc-20160816; b=pirut6EDlylm9gGwT8iuEl/D4wkDBn5rCDnjDoFEwkGSfPp3hWKgcYlyhAZQ96QMRy 1L2MnKn9QvKAzhQkxhEeZHwENCPFG2Pc6EwePqMa01mlXAiNjLsdrA9oLGkhA7VX5arW G1zG/gIN/1+Im00jCrf6O/c4sd4ml9Gv284Ow4zLqBD+ie2nQim8IKSIj+XYg+Yi2fQ9 PD60dZ9eWwNulucnaNBojK4A9QmPN4xIXbpB1OfWWIVSHSwZR6d2KSKnmiYcLgYTo/HV ewKo8FywdfK2dS6KUjCkVww4yHyXm1/7413Il7eNK4QjIyJTHkLVGnrxDxDjH8aVUTnh aVKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=GLPgmLdCHxcorBlFdQXzT4ddFjObxrIxDTUYqmmeF5Q=; b=bk9KBKowLi/jdD1TJOyDxtYDQhhNskGJ63YAw2PC89JoTGDnG2C0su3HqcjtacI19w TwniduPfCtLJ7ave5DQ4AUXHMOMVciv9+cPMHdwFE5q6RioEj6PbmRU+2Gcbxao+9nan 93+ODr4J4avRb1aviWmSHlyUGrNQZMpV4OkcfRlS2rPwh4Y9Mnmnbf5UDpdiYsyO2I32 xF9e9UAcfN6inszUanOY0lQlKh2v5KF8nF3yY+rA/q2gIDgzmr8pqDmk1i75Hy192hit CfQSSAJEzvBvpMH2WFjOnGpt6YtjLfzsqvigU4GdEAWboV0XLV7COEdWwJRaPua1Ywi8 ZXQA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k17si6597075ejc.181.2020.12.19.18.41.08; Sat, 19 Dec 2020 18:41:30 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726865AbgLTChw (ORCPT + 99 others); Sat, 19 Dec 2020 21:37:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:48716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726732AbgLTChv (ORCPT ); Sat, 19 Dec 2020 21:37:51 -0500 From: Chun-Kuang Hu Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chun-Kuang Hu Subject: [PATCH 0/5] Share mtk mutex driver for both DRM and MDP Date: Sun, 20 Dec 2020 10:36:50 +0800 Message-Id: <20201220023655.30795-1-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mtk mutex is a driver used by DRM and MDP [1], so this series move mtk mutex driver from DRM folder to soc folder, so it could be used by DRM and MDP. This series based on linux-next next-20201218 [2] [1] https://patchwork.kernel.org/patch/11140751/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?h=next-20201218 CK Hu (5): drm/mediatek: Remove redundant file including drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex drm/mediatek: Change disp/ddp term to mutex in mtk mutex driver drm/mediatek: Automatically search unclaimed mtk mutex in mtk_mutex_get() soc / drm: mediatek: Move mtk mutex driver to soc folder drivers/gpu/drm/mediatek/Makefile | 1 - drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 32 +- drivers/gpu/drm/mediatek/mtk_drm_ddp.h | 28 -- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 - drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 - drivers/soc/mediatek/Makefile | 1 + .../mediatek/mtk-mutex.c} | 317 +++++++++--------- include/linux/soc/mediatek/mtk-mutex.h | 26 ++ 8 files changed, 201 insertions(+), 208 deletions(-) delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h rename drivers/{gpu/drm/mediatek/mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c} (54%) create mode 100644 include/linux/soc/mediatek/mtk-mutex.h -- 2.17.1