Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1EE74ECAAD3 for ; Sat, 10 Sep 2022 20:30:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A13310E2C3; Sat, 10 Sep 2022 20:30:14 +0000 (UTC) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3B55B10E2C1 for ; Sat, 10 Sep 2022 20:30:12 +0000 (UTC) Received: by mail-pl1-x629.google.com with SMTP id x1so4912855plv.5 for ; Sat, 10 Sep 2022 13:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schmorgal.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=F+PwtkdeSluSTY9EZaCKgnM6E4x9lodGD0vhUiYvWOg=; b=Z6AqW7wqSkqOlBMi6WVHqpaMqrXi19V7ENPXpbjw4m/wlc9SGA32OSpaOFMP1h1e7o J341vsdOgOBnDdpHXxMKAYxL+HwP/rAPkZivTjNcj7zzeP585ESqT4RdONQBeQCKScxB CLDfWOq6oEi/Ekhgf33vBPDmWfPaHCmZpl5tU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=F+PwtkdeSluSTY9EZaCKgnM6E4x9lodGD0vhUiYvWOg=; b=6q11cwNmIlwTguO/5zwFDbW4Ix71ntIxFmxJQAsSB2+iuQAJ35S5CFlBkOUuJQCCIf RRDN49XG4nwJlnXB2RCr/LZoXwdZ/dqk9F0HGeB4eq+z3kLw7v54GVbhbDZhmO5eB169 xkl5mUprOIYbOVX81iiBHk7xBdmssGlbwEral8ScyDgUsY2YuvqQrhCIIO9qoadkuhvx 7VLZ1AXOb6V+E+rbHurip96YCcMlz9V3uCvdpXfFpKrzvNt+qbb8U30cfDVZxD0xKjge H7dZsqVDAttQi6pcUmP7YNWVplRJRjVCFTro72xPWN8J0pBt6k9pFVP3W4t5zTDZrC25 Y4+g== X-Gm-Message-State: ACgBeo0hiHzj8X+VnZyavd7nZ8+/Rex5yLuUSmR+QqC6Gjywy2CN3Tls BJjzewZcoDfVIqbiK0fimO9G7g== X-Google-Smtp-Source: AA6agR7zrQYsijlAsLLZyZnetCbm94pLqeQQOGa+awwJdJX8RgYEXxTqY2mflqcea32CUd4hzWPQqA== X-Received: by 2002:a17:902:eb82:b0:178:2166:fe75 with SMTP id q2-20020a170902eb8200b001782166fe75mr2747156plg.31.1662841811459; Sat, 10 Sep 2022 13:30:11 -0700 (PDT) Received: from localhost.localdomain ([50.45.132.124]) by smtp.gmail.com with ESMTPSA id x2-20020a655382000000b00412a708f38asm2641313pgq.35.2022.09.10.13.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Sep 2022 13:30:10 -0700 (PDT) From: Doug Brown To: Lucas Stach , Russell King , Christian Gmeiner , Daniel Vetter Subject: [PATCH v3 0/2] drm/etnaviv: GC300 fixes Date: Sat, 10 Sep 2022 13:29:37 -0700 Message-Id: <20220910202939.31010-1-doug@schmorgal.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Doug Brown , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series contains a few special cases for supporting the GC300 properly. These were found in the drivers in the vivante_kernel_drivers repository. These changes were tested on a PXA168 with GC300 revision 0x2201 (date 0x20080814, time 0x12051100), which already has an existing special case in the driver to modify the revision to 0x1051. Changes since v2: - Dump canonical address in etnaviv_core_dump_registers - Misc fixes from review by Lucas Changes from v1->v2: - Move power register address remapping to new gpu_read_power and gpu_write_power accessors instead of modifying gpu_read and gpu_write. Doug Brown (2): drm/etnaviv: add missing quirks for GC300 drm/etnaviv: fix power register offset on GC300 drivers/gpu/drm/etnaviv/etnaviv_dump.c | 7 +++++- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 31 ++++++++++++++++---------- drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 21 +++++++++++++++++ 3 files changed, 46 insertions(+), 13 deletions(-) -- 2.25.1