From patchwork Tue Mar 2 17:57:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12112061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB9B8C433E0 for ; Tue, 2 Mar 2021 17:57:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26CBB60241 for ; Tue, 2 Mar 2021 17:57:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26CBB60241 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 86B4989C6A; Tue, 2 Mar 2021 17:57:23 +0000 (UTC) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9D68F89C6A for ; Tue, 2 Mar 2021 17:57:21 +0000 (UTC) Received: by mail-pl1-x633.google.com with SMTP id k22so12466738pll.6 for ; Tue, 02 Mar 2021 09:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t0XgsYWzCDRLhsNvXhAFsWAxsY9xHFp6XSF1To7GMYQ=; b=YLXgMyNgQnRjv23cdr0A9TqS5czUZWEqzjL+SQxCKArJAenMg38p+18B8lgzV/8W4O 6MzfIGFKr7GFV33hd1rAckk4m5r4+6cECKAnMmht559jzSqe0nza6AoCUM5mLtb3bz2+ bT/JSMkWWSIB0AxeshdzbRMy8Pi7xG/9lxKuA= 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=t0XgsYWzCDRLhsNvXhAFsWAxsY9xHFp6XSF1To7GMYQ=; b=W6CR17KyY4SVnpQQk0WAl8BNxqk8bRuZfUPGNtarJ0m0KBHX0lkwD6Kld87IwYQRcB kZrgZdLgox5jOv2l6rbTxhps273YaKNGkydBSgcrtSpYuhJNPmRgvBxGemsgs3HIIEIZ yWeerDmUFZx1NuTF+x3sVF9u+TEH2nNBF+2eXilgjBq03RBb9g8IK2nK1oOnyn750U5l p/0P1ZGBSoHdRH9b0NkgJUzj8ZF8ctOZM4UDKsZbyN/R3DsM8nR1Mdq/pFoP/cGpJpgW yIcvri8psK11f4vmec0mG05FkFBhegZO41GNZKGj/N046YRz2c756JKcvRFWcWVVexoR ExBA== X-Gm-Message-State: AOAM533YE8dJpNL7nrzxkv4ofAYP19MdoebMNGpAX4FHV9ZGs8Hhk+jF U6/iPgQ0Iq7sMk0qg+BzdK9x9w== X-Google-Smtp-Source: ABdhPJyo1UjGzp40tLRvvraXfpsxXnqkr/lo8Ai+kssmF8iV7dIyu7Zguv60AaGzSRRkEo9ejOaxTg== X-Received: by 2002:a17:90b:1bc6:: with SMTP id oa6mr5801071pjb.86.1614707841197; Tue, 02 Mar 2021 09:57:21 -0800 (PST) Received: from ub-XPS-13-9350.domain.name ([103.161.30.225]) by smtp.gmail.com with ESMTPSA id e22sm18521329pgk.56.2021.03.02.09.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Mar 2021 09:57:20 -0800 (PST) From: Jagan Teki To: Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Vincent Abriou Subject: [PATCH] drm/stm: ltdc: Use simple encoder Date: Tue, 2 Mar 2021 23:27:00 +0530 Message-Id: <20210302175700.28640-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" STM ltdc driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. Signed-off-by: Jagan Teki Acked-by: Thomas Zimmermann Tested-by: Yannick Fertre --- drivers/gpu/drm/stm/ltdc.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 7812094f93d6..aeeb43524ca0 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include