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: 1682 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 15FA53F080 for ; Tue, 2 Mar 2021 18:57:25 +0100 (CET) Received: by mail-pf1-f198.google.com with SMTP id u188sf13843661pfu.23 for ; Tue, 02 Mar 2021 09:57:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614707843; cv=pass; d=google.com; s=arc-20160816; b=U6oBXQyw8MCW2PAoGzODfyW9vcJLoeNqzn9ey0D7xfj+3qtopiqjgk+Kt6gXAdyKu2 7HWOE02/767YmcH3K0U1b2Vkxzv+5DAVZAoKQBnOGnCPZiQ3RLRDs3hgC66CkhTket2l +pUt2f0ru9EMIp5q8nErRnMaMi1JF4K/M/fK7D+RP6ZjhbC7pN+uIwbTi3RkOzZZVwwW OKIi4m7q6svBh2/m/sAoqcvQ0tnyh/0miSsS/JyfQHwen5/ECZHFVINUcE1bhSWKUYrj pBXIDNlCLp9g90RMqorVvkapsgt9Z4SINor8C7M/yaG8kdldzMaEyb/5SihDKFm5QK1P nuRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=VEjsgrbYrF9qJi6qhSm9Pm2C6xEdH2bGmpARTXnyRxo=; b=Rwl4Vqdd9P5CZC0G2vf9SDXe3eIjrAdHUGH/ZVmHj4tEpIn4bu2u/503ObeKkWExzw M046V/2S1D982aR0iiaoBEbKrBrcKx5qqB9nfYY5lUP7lBbuCpNp/oTMgMwfBrlsc0Dl u4ZM9LrOr/WwFUX7hFWcgp/osywsKsL5UXvAjrI9V+qOAtq23fn+VwGFfgW/4444tpii 5WYzleT4OHycq3Y4tnauk3Kpd2SOvyhOTCDVtKUdDsuO/Os9MLF2L24wFbEvRDMgwWSC d13lzlpPd+OC4HUCPa/r+pvzzp0D24eEJ1pKPY31A2p9jLANgAnzjbZbLbrjWztso6nQ WdTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YLXgMyNg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=VEjsgrbYrF9qJi6qhSm9Pm2C6xEdH2bGmpARTXnyRxo=; b=dC5nY88Im0UQQOlPikO9+6UaM2dneAWy6mScr6U4C0J+ss1km9CAU+XzF8JrIA8B/y dBvjPFPO4J6Qyv+UMpaJVn3fdK2d8q+chZ0XguYWPz4PM7eF4Yau/6vsrUbr3uXvQ5Of 5tFJfzYAegMFVdG1OGaXmMM3ZJUQe/evWpbJU= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=VEjsgrbYrF9qJi6qhSm9Pm2C6xEdH2bGmpARTXnyRxo=; b=uG9Ol4AogT/2MXOdwPxmH2csBxRHN6nmWXtJGrrha/11FofUg85NEJJk+lyxsPwgoa 3NfBcSjmXPSijf5im2EwKt0+Ltgeq1veO0h5xWWL7vP1O83RWeaMvYbfpsZ0TSbM63vg h6BdC8SOPB7SkUeVpHyrsGgmV8nEMIzR8qkqBTWkM9uAEGIwE86QnVYRHb71M620ZIjo b7J70d+/6zQVlOwbPavH0DNKxj+DPkHyBBfzGCGvxSizw9i1V9h5JbNZWoLBVglrh+xR Oh1MEriNwgvN9Rm78d0r0qnYgF6ft8y4HRZ//BvQTwy4c6mFhH9HULaPQvKIJNTCq9ef QrZg== X-Gm-Message-State: AOAM533z1kvePc0SY54e/BSA9hMSq5c9XYy1mxgCJPDKjKBvl3naHeev P7zyj/laBW6aoMWWaW/2VqgE9pKB X-Google-Smtp-Source: ABdhPJyGFZbGT8NicbQV6PWciSL/hzbNqBHMDul7Yij6ktgd57ssQfmf5ikIpY0kb3ZE98E/PdmnUQ== X-Received: by 2002:a17:902:e881:b029:e5:bfa2:dc26 with SMTP id w1-20020a170902e881b02900e5bfa2dc26mr1161672plg.82.1614707842651; Tue, 02 Mar 2021 09:57:22 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:eb43:: with SMTP id i3ls4238914pli.7.gmail; Tue, 02 Mar 2021 09:57:22 -0800 (PST) X-Received: by 2002:a17:902:690a:b029:e3:9fd1:a0d8 with SMTP id j10-20020a170902690ab02900e39fd1a0d8mr21684513plk.17.1614707842062; Tue, 02 Mar 2021 09:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614707842; cv=none; d=google.com; s=arc-20160816; b=LvbVIUN3NVwK1wmH8d2gsSnJBmXYc78QlWmpxHM+3h/e89mrU57hEsQRlYz5Ud7iRz ix9X24yI1BDw1lB4wEQG7KwMuIH9sHSbCedRxZU/SwoU1NHz7/yY1S/tAqdOKnFEImMx ihvF0N6W8Sm7fG44WHkAXV9dUhCBjPPL6/hKAngpPii4oBowLFkeQUorfswaEQYjL2of GiwVSf4inZ4E2PWwEWAKSSw8HwcnI3IFGf2BNUYfby5SwaR5Fcf959ntxHVIOCh2lApa ICPbZg3KIIYD/xsZ4nZ+Msc3hYIuSF/uDMFI1pAufhr35E/iW0L9cjDYZVRS9k2trFpu M0nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=t0XgsYWzCDRLhsNvXhAFsWAxsY9xHFp6XSF1To7GMYQ=; b=L8bK3/Hm7LHYoy0ZIyliZrHl7FAwuqhWE4oZGh7NcJZmR/UfI8PS48HF19WTLuoXmW pYHUHVzJv/WYwjEgefokEIv9qlOzd/DSFeW4ZM0rVqH3DVWP2dY9d+Y5JTC8H1boHEWm YguW8EhInT4sbyRtsXjmItwRlRgsUrjyRZxd9m27O3FbiCL3sNqTKqolfSHEDGouQc6J KmEccVb2IUBsGKqxH7aV738fVWZzKZZ+rqiSTtw7718Nw+IMoXSoCYvu3/IUCGRQxyfG jb+wB3Wr8bLIiy/ks+2BJdoUehsPkxqjCsIWz9eHe+swjr3d7l+1FvBbDZ2YofaBJXFJ EziQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YLXgMyNg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ch23sor2160715pjb.22.2021.03.02.09.57.21 for (Google Transport Security); Tue, 02 Mar 2021 09:57:21 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YLXgMyNg; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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