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: 12113653 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 D134FC433E0 for ; Wed, 3 Mar 2021 14:53:21 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 C90D264E02 for ; Wed, 3 Mar 2021 14:53:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C90D264E02 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=vo3OJqO3jGe8kAJRIDCQY+G1xYbp+wqTjC3kr9JVVdI=; b=ML2tPc2LESetVno81SWIhZujyJ QmzjtmPgOaWDtfxtPqVwNMGIRQOX3T/Bekg8MAgJu7kGFzDIqMvHwbLEGOd4J25DYWkq+s8Kp4pvn K6JszK2tDxYgPT9SiLSlWY5h+Axz+A3w6M2Bp1l0lMWtzz9EORjZ9cuPCxHKwqKQMXDoyZhfQVNU0 ws/0GH9yL+1RAktxbxkOwBZ733JHih5a2VOfGieva2fSST5qNH8B3f4Id+pxpeoN+9rRwOuquQcEm eGOIKDYyJpYNokPEoGiqxQnglIc7qg6Aoac0S7skr2ys9uhtkE6IoDTNXkhXjXfc04UfXaH1lWwsD jcpNexww==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHSpQ-005DtV-LR; Wed, 03 Mar 2021 14:50:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHSB5-0054FD-4l for linux-arm-kernel@desiato.infradead.org; Wed, 03 Mar 2021 14:08:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=t0XgsYWzCDRLhsNvXhAFsWAxsY9xHFp6XSF1To7GMYQ=; b=lfKCFFUtxGF5RK9t0buireCXow a9lh4G0EBFPb8zOq10/lbE5GEqgwsaPBbLSm1UzPi40xvaue/47hV8UpFoQ2FVUap62GsRbd3ic0J QVZBK9uiY9puSgJZIwxLOij79VxEQT47YIuG9+oekkKmyg3nS4OlRwPYgW9NGzrHPtC2CrjmiwbUR sDA6vmV2MF1h6g7mzUKTycK7IWRagbQL+PLUsLIVs1Alww0foenQkWgWFWF2lyWtpq9xsq7ocRwzG +daNMdrs24XEiUxM/FteTUUTYAenKw9s8UCDhmeZ5lkfIfj0xn/L+2nbp6XDSp49tWQD9k+O6lR7l QKhsa4JA==; Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lH9Hu-00Hb7O-A3 for linux-arm-kernel@lists.infradead.org; Tue, 02 Mar 2021 17:58:30 +0000 Received: by mail-pj1-x102c.google.com with SMTP id u12so2533891pjr.2 for ; Tue, 02 Mar 2021 09:58:25 -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=kkXOmOw5M7adm8FURmp60PZC6wCfKsFFpTOGQVJA/oq6lPODjetFk74neuxTYymBgP F/SWZr4WqYqlys4vuYn3ist2CH6znwVnm89xv6+M2rqQiMNX5XV6NRUPBNpQrlG3LscE PROhBRL/bK02csVhNdl/WGUlKR7BzWcRTSK+HqZ4tiLCHt0OdSewZ5nwxp0kFVUl06mE 5L1cjKnNarHbqNNqih2zsRebgwfe1hkgSxf1ITpKE2vAkAUGCuEzVck+4gxtOF/EWq1o us9OwODq0ZeKUG0VUrozJppLlasC6GoGAh5NLIN4krHPxxSugyxtJKc/UINcpSoOT8zo ShKQ== X-Gm-Message-State: AOAM532ot4Wt4m1rcS/npM+I2QwbxAcSSbdXUKxHrf1HC7PkWiOXyx9i myTTG0xRLfCU7pSbnChL3POe5A== 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 Cc: dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210302_175830_176930_E6BBE5CF X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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