Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4053126pxt; Tue, 10 Aug 2021 18:49:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEK0NIm85NGF0gm0UUKQA8w9xKw/X847jKPFwRXGx0ZuISz7lPeqQV/O7egYYVmqcdlKij X-Received: by 2002:a02:c6c3:: with SMTP id r3mr30525797jan.7.1628646594441; Tue, 10 Aug 2021 18:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628646594; cv=none; d=google.com; s=arc-20160816; b=XS+J05FodpXlyh1ZzqSX8BE5mf8LeBS4rYSTqgEjFifKE9rRtEzOtHWd0zQUX2AxBS FUj2hHuVyB72/We0blvgZDXSOo2fz9W/iJPTpdoYBemJui+Ln3BE3PsvNjO2Iy6isgrM 9pq+PkZ2hOUFnxug4PN4yibs7rGJURtkYIyJ5bKCpL/LN9eyZ7xRD8IJCFj8PfjQbP1J 2IHfqP0u5EeB/ns6LH3gZa2MvN2q7IEQdv4Kl1h8/scT9UXpXIydTH5eohMLbVFMPVK9 FPk/e2eblIrWGK8MWQaGvsyEGsljZo/H1eX3XwpCDzAatQO0gHkdaSi7NAWwBDYN1W5g EwMg== 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=trDlXE5q5zBAvjy7yCqG+nKkdVyCIB7tWb/SKaq9rRc=; b=I5awpe0T//fpCfneRc7aFerVzlFMCp08AKstvkPhXscsVgZG10a9OZcGURzmzv2cjs GMG46OCS142Rs0RdxerSzZiKddk/2YweAzxXnfOXAt/jrf2zOEQx6fJVlmQpcXrmxAOI I034je6FrZhwqkOdRcJSOLF6nkoATPw5fR/AVM4jWhV0p4VuMbqhJdg9h3fMSlFZAshn mG0hilenNwg0OlHpU3AY2tkkPQ1pETQgsEo5gUGkelhnSsVWMZ2EM6DFu5IP4UIJzcot VVBhKt2olGUhJG/xkliV3zpRD38rxz3s8naoU6ZmjOBGmMksnlsk4JQMhi6nDzGvzLR1 kFoA== 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si27160451ilm.90.2021.08.10.18.49.42; Tue, 10 Aug 2021 18:49:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231430AbhHKBsu (ORCPT + 99 others); Tue, 10 Aug 2021 21:48:50 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53658 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231169AbhHKBst (ORCPT ); Tue, 10 Aug 2021 21:48:49 -0400 X-UUID: 28bb3b21aef84be9b0998f5e8610e9ec-20210811 X-UUID: 28bb3b21aef84be9b0998f5e8610e9ec-20210811 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1883639493; Wed, 11 Aug 2021 09:48:22 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 11 Aug 2021 09:48:21 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 11 Aug 2021 09:48:20 +0800 From: Yongqiang Niu To: Chun-Kuang Hu CC: Rob Herring , Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , Jassi Brar , Yongqiang Niu , Fabien Parent , Dennis YC Hsieh , , , , , , , Hsin-Yi Wang Subject: [PATCH v4] drm/mediatek: clear pending flag when cmdq packet is done Date: Wed, 11 Aug 2021 09:47:47 +0800 Message-ID: <1628646468-29775-1-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change since v3: - remove useless condition check Yongqiang Niu (1): drm/mediatek: clear pending flag when cmdq packet is done. drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 47 +++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 5 deletions(-) -- 1.8.1.1.dirty