From patchwork Thu Feb 4 02:01:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12066031 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=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 A9D77C433DB for ; Thu, 4 Feb 2021 02:02:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 63A0764F60 for ; Thu, 4 Feb 2021 02:02:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234522AbhBDCCs (ORCPT ); Wed, 3 Feb 2021 21:02:48 -0500 Received: from mail.v3.sk ([167.172.186.51]:53800 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232768AbhBDCCr (ORCPT ); Wed, 3 Feb 2021 21:02:47 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id E778EE0BB3; Thu, 4 Feb 2021 01:57:52 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id XMmrYTYW4xfz; Thu, 4 Feb 2021 01:57:50 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 823C9E0BB2; Thu, 4 Feb 2021 01:57:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ovieJ57w_w99; Thu, 4 Feb 2021 01:57:50 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 3E5DDE0BB1; Thu, 4 Feb 2021 01:57:50 +0000 (UTC) From: Lubomir Rintel To: Stephen Boyd Cc: Michael Turquette , Ivan Najdanovic , Lucas Stach , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/1] clk: mmp2: Enable the 3D GPU clock alongside the 2D clock Date: Thu, 4 Feb 2021 03:01:54 +0100 Message-Id: <20210204020155.527556-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hi, Please consider applying the sad little patch chained to this message. It is a workaround that makes the 2D GPU work on MMP3 when the 3D GPU is not used. It's been observed that the 2D GPU won't work when what is understood to be the 3D GPU clock is turned off. The etnaviv developers suggest [1][2] that perhaps said understanding is wrong and they may be right. Unfortunately no documentation is available, all we know is the register names. In any case it seems to make more sense to put the workaround in the MMP clock driver instead of to the etnaviv driver. [1] https://lists.freedesktop.org/archives/etnaviv/2020-November/003442.html [2] https://lists.freedesktop.org/archives/etnaviv/2020-December/003445.html Thanks Lubo