Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp267720ybj; Mon, 4 May 2020 21:03:01 -0700 (PDT) X-Google-Smtp-Source: APiQypI5EOOzBFTLMt3Y8rel62B6lu9XOAiaIc8AIVThiiKqGpValEZdf81Ffx74mAEDOsFh0mzL X-Received: by 2002:a17:906:af99:: with SMTP id mj25mr886069ejb.151.1588651381147; Mon, 04 May 2020 21:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588651381; cv=none; d=google.com; s=arc-20160816; b=ntNxyvnzN8QIn957DBYPqZWJIk3D+H7yabjNxzLiR+nXMOy29jWernYTHVLyTPsThh GFo6ELmuLl7yzzsu1SY75Tf4BPADyjSVpEU1obZh3mRlOORT9dxIUuQw8WSlEz/ssS2O lyWTkGD+cz6uMizFuxd5/e479rWUALOiJDH7TaDaTGgZVy3ITiTr2VvHDz+S1RqepPBX duJevAh43KhItdeFq8hsg9SZdoTBa9LDlJ5DjWrNQUrVQGP3mQa4m3Oz4zzbORFrnvNc i62ug3AHtXUhobUhNjno18FtZoVAp0e9v0E+ZVoRJbC2ai3LJwDb4iGFbiD5V5h7LWP2 8IzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zXcNVzanMlcydlCFrB2r+HWplGTpnlRV6J+MdBaPrW0=; b=jRGDCUUxThXNFHchoxYrPkyxaPxZUXhpk4pa48YcI3y1E/uPaAJK3Zlr1a0yrp7w1B KnDPwmMCJywtgZ9nW/eITg8pyfl1BoPfBuU0s1y3dRx9cDkNEsAW7sRMplkiZCur2Vqb iAwi1Dp3pfrbeLDqPVxf2a4O3ACd07oblEQQnuIl3quyYqTFOI9r13KZBsLqSfuOFiCM dQwjuYi9s2jEZhbHxyFau+VA/o/Yj66GO8kd4J7eCo1L/0wmz2SDBAX65xPmrT6ovXgB CV9mNeqxxw2UTq1dA1i1RHwYLmAnbRyYc1mHPfpO3N2pP//C8CxGR4gjtc2u8aNXBCu0 T61w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=L9xooj06; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si599035edx.314.2020.05.04.21.02.36; Mon, 04 May 2020 21:03:01 -0700 (PDT) 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; dkim=pass header.i=@chromium.org header.s=google header.b=L9xooj06; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725908AbgEEEBA (ORCPT + 99 others); Tue, 5 May 2020 00:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725272AbgEEEBA (ORCPT ); Tue, 5 May 2020 00:01:00 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E62A2C061A10 for ; Mon, 4 May 2020 21:00:59 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id q124so430391pgq.13 for ; Mon, 04 May 2020 21:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zXcNVzanMlcydlCFrB2r+HWplGTpnlRV6J+MdBaPrW0=; b=L9xooj06SkKYA1F/mM6gzkXw0XRoE4+PPOkuKWhil2K0egyXKdJzupiMsGnMwT0YZQ xGiwlJ5L/ot5yLd7/aWq+6s6xqhhn81GenquLvLfmVrAVCzRFE5iCEWnvH3ef9uQv72m Ixc8jb7K6KPUUbjSkttRV/P8Yde3shEwk7HKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zXcNVzanMlcydlCFrB2r+HWplGTpnlRV6J+MdBaPrW0=; b=Jlgn0Iz+kogtJe+St936Kt+xEd/HhwbOGg6uX7kj1mYHpha8o5euALQBnqU3oeFA4F 0nZAz0LifRLtXiDYbnBKdmMsy6ZM4520p//BvHc41d5uH51vN/jePobj/QQSMahQoXvd IAGZo5blcvhFbHtCNKSyo9GuVmZ0aYpDEEsl79+rMxbi9BQ4/ia+kJUGONTqAi0F67kW SvZpvTZv0Wnq+hEeIgxadS2YUq6giZ1b4SKbhIuSAPwZ5IDBL2WzgIbrYYppPqPCAum5 3VMqCPPpzJzwlTKgXPfqqS8AFi4tcA7XKeBbEqab4JZSGXYfXnG0gtAc1q5UGIGy1uhN ra8g== X-Gm-Message-State: AGi0PubIecZu6ny68Jkq8d7Ivn0dlUyVimiODK+BpYOLY7bt1jgARAnC JfWVZoDkTbplxHqo8yBorBQ9NDUY5MQ= X-Received: by 2002:a63:1103:: with SMTP id g3mr1357965pgl.206.1588651258943; Mon, 04 May 2020 21:00:58 -0700 (PDT) Received: from localhost ([2401:fa00:9:14:a92f:c47d:76a8:b09e]) by smtp.gmail.com with ESMTPSA id c124sm585707pfb.187.2020.05.04.21.00.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2020 21:00:58 -0700 (PDT) From: Eizan Miyamoto X-Google-Original-From: Eizan Miyamoto To: LKML Cc: Eizan Miyamoto , Andrew-CT Chen , Houlong Wei , Matthias Brugger , Mauro Carvalho Chehab , Minghsiu Tsai , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v1 0/5] MTK MDP driver cleanups to prep for futher work Date: Tue, 5 May 2020 14:00:43 +1000 Message-Id: <20200505040048.132493-1-eizan@google.com> X-Mailer: git-send-email 2.26.2.526.g744177e7f7-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eizan Miyamoto It most notably converts an array of MDP components to a list instead, but also removes some unused fields. This series of patches does some cleanup in preparation for futher work so that hardware video decode works on 4.19 and later kernels. We are planning on adding a dummy driver for the relevant MDP components that will be bound together using the component framework, which will enable calls to set up IOMMUs and LARBs, and make calls into pm_runtime. Eizan Miyamoto (5): [media] mtk-mdp: remove mtk_mdp_comp.regs from mtk_mdp_comp.h [media] mtk-mdp: handle vb2_dma_contig_set_max_seg_size errors during probe [media] mtk-mdp: handle vpu_wdt_reg_handler() errors during probe [media] mtk-mdp: convert mtk_mdp_dev.comp array to list [media] mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 60 ++------------- drivers/media/platform/mtk-mdp/mtk_mdp_comp.h | 23 +----- drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 74 ++++++++++++------- drivers/media/platform/mtk-mdp/mtk_mdp_core.h | 10 ++- 4 files changed, 68 insertions(+), 99 deletions(-) -- 2.26.2.526.g744177e7f7-goog