Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3401959pxv; Mon, 12 Jul 2021 16:51:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDDO2Y/3pl0pIQu+mTcexSQruYHVDRQAFKoBkgv7Qs+eqsvGXPkle8XqS2qjHPzGVHQpRT X-Received: by 2002:a17:906:696:: with SMTP id u22mr1900112ejb.77.1626133896759; Mon, 12 Jul 2021 16:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626133896; cv=none; d=google.com; s=arc-20160816; b=YDdwsp88BhtK26GgT6DwLV2oN6QUSMXMPQeP1bJfDQxCz7Jo70bnN3zkieRyufh8Xp XjWsGi8WNmt5o7SXDWrgYPQkl3vFFXiJW6zPzi5ySzXwZ421aALvq8gCSCRVUW9KXNVE hrqrRdcYlUmdeh1Tbuf4fOam5hXIKY2LN+UPdxb7t5Z1hV+lR+NPH2+LD+EiaEjv2Tri D5OcWSc5D2PZupnZMir4+ffQJUEMCR2XTJXEq4Q//XW+vbA1FZEPH+trQs4HLKPiZPYW alijq5TOcPYEOfHzsWmDLSHroTH1Ifa1i8ApWJP813LQ/XdTjMYve4DcMEbggBaMGUVr WCTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6ULJ9pWAicBfJqXPyekEtQ0yaz4DNVLIERyL094CDEI=; b=YShRM3bJ6KO2xWb5OeMILHEUO8VPGkbBVKY7g63P6vKsVcX22CkXmbYnli4zdka5tV AyRvxdE7inJQXrcJrPpRDHd/unsyykDVBMkyI5fklg6iPCcDlwiSmhDWjnn2GSseC2lm WvgGzNRsmZ4bplGeoD9TBoBhc/i2QOm/bYKFZmWqyicGsyOYNKLZ7i6uTiwnAy2r3rpL QWFAgd0SKOV7Wxi34zOeh3iNvBqbn8A5fo5UI2ZD8mEOVsuBRU1GoyIQRS/t+rycRTTi o98XrvvQZp0wOI+VJU5mvp86RcgrA1xDaFsiZQQAgUhFHA8dEPXHbLwsoLFlVSof9E4/ xz6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kFB57Wzx; 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 js1si20354682ejc.464.2021.07.12.16.51.13; Mon, 12 Jul 2021 16:51:36 -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=@kernel.org header.s=k20201202 header.b=kFB57Wzx; 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 S233282AbhGLXxL (ORCPT + 99 others); Mon, 12 Jul 2021 19:53:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:38404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232878AbhGLXxK (ORCPT ); Mon, 12 Jul 2021 19:53:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E145C608FE; Mon, 12 Jul 2021 23:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626133821; bh=gUy0PrVeHFh0s36T5G5fu9zOhj3dvn5O88uSQ8Cwfms=; h=From:To:Cc:Subject:Date:From; b=kFB57WzxZdy4YGTAxV/3HyESb49xCZ10kHuoG3SuMpkVUGNGb6lAfwrdUbZJVGZXX dyzfipvn2hWiwarV7BSDlUlSXLy2VCa0f7CxHAHk5v2O49ycJ6si31rtiXGmeu/AQQ aQCYEqcbH+tgyD6gwoh98aAyXD93NxplI+vL8rQINR3q6buNRengZc5Ig3eNDQXJSZ g42AQYNYTcBb9rUovdZUw0Ipkb9gpVw8TyblxKWTd3F1swJqKUSzn9cnRG0MrvzJfe hFnmyLbkd7PvkbAF54Jbgpe/6TuNY/80yKktc1by5nZAsOtzIR2e4aX+6LIg+jquE/ i1QwN00n1NHuA== From: Chun-Kuang Hu To: Philipp Zabel , David Airlie , Daniel Vetter Cc: Yongqiang Niu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Chun-Kuang Hu Subject: [PATCH 0/4] CMDQ refinement of Mediatek DRM driver Date: Tue, 13 Jul 2021 07:50:10 +0800 Message-Id: <20210712235014.42673-1-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These refinements include using standard mailbox callback interface, timeout detection, and a fixed cmdq_handle. Chun-Kuang Hu (4): drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb drm/mediatek: Remove struct cmdq_client drm/mediatek: Detect CMDQ execution timeout drm/mediatek: Add cmdq_handle in mtk_crtc drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 110 ++++++++++++++++++++---- 1 file changed, 91 insertions(+), 19 deletions(-) -- 2.25.1