Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9796404ybi; Wed, 24 Jul 2019 10:06:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrSeh8TW+tizFaFE9BzQvi4H3y9ZTuwtBIeJQDfoSaIXya5oOdOAoOMr6IfdZFjEycapXA X-Received: by 2002:a63:8c0e:: with SMTP id m14mr67064989pgd.219.1563987967256; Wed, 24 Jul 2019 10:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563987967; cv=none; d=google.com; s=arc-20160816; b=W+W3DeZOUuoxFcoc6rs+pV8eI0FzRH/Q0oLNT21htmdussl4o6wcagA0+39GxgkhR0 gRzZ09J6CFl8b266tR6ay5KKqD3GDGgi8ptsdfncwxhhQ0/KrOa+jnKIDzWXb+A7BPqH WxfNMIl3V5+Px3z3fgIpuTH6Cu3Vk+ysgdPp5iP6zb9HtP2t2mKAGpCwx3IHywcG57x3 8XoSQnITwgUV6nx/E8yL5qZ9lQL+T6x3qgB/UPIBL+ubfH2Ch68mNy1i7lD7TQk+CSIp a84bMqnw68OdSd5nK1hEGi82yEwkUv00F282QWkHIWIuWimJQCtqkhih+Z5rkX1H5mr7 5Vlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ik+2cncfh53iw5ShYB/ak0ts1Ruiy9okJvIqeQELJIs=; b=aGhCd6XlmidRV3Lu19DtfYvXKRjMSN5u3Fn8vYcDxLL9W0uMaqqd3a5mI7pMQ9iF4E PMoQqOoOKJkO3Txwfw95DEGhgtsPKmJrVPdt8Fv89DZoRzbWuNpWwsZWsxM3oa9DpRdJ Qf4g3a8h0PqndhOhmcEYrUcf6VyIACBNbElmBORcRBjyN0U1pb4vBlT2jc+SigJpvKIP zksIgOnZEWgu9+5g20KnTqBkTBqG+UoAXJ/DWePuqnPXpyUlz1HlXoGThkM4JVvcD5kx anMNXqYTfurK26ZkBIQa7bgQP3m560arNSaefVRw06tC7S0D2CtPj040xNpK+6ww8Nq4 OgYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Zb8X/OpE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si16989921pls.24.2019.07.24.10.05.52; Wed, 24 Jul 2019 10:06:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Zb8X/OpE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727259AbfGXQ1Q (ORCPT + 99 others); Wed, 24 Jul 2019 12:27:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:45798 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfGXQ1Q (ORCPT ); Wed, 24 Jul 2019 12:27:16 -0400 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6C2D221951 for ; Wed, 24 Jul 2019 16:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563985635; bh=tuE9J2EOne+NslRdzdQJ0TtHE1sB+k105tq6JIxLUdw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Zb8X/OpEv0xafmvlDz/057Tig2SM1IPeZsqvFMuvKLB4cEtdmqEqNvO5nbrYEVZzJ 3gY1mfPUAFiKPkJ/XUpxrXDJQxFyzdDtgw3JseH4vuCcv+LnFoevL85+ZBHdbvQFEY aX+ejwSEfgue3WJ/NpLIzGCL00hcP/HrxuQpbKT0= Received: by mail-qt1-f182.google.com with SMTP id w17so1759212qto.10 for ; Wed, 24 Jul 2019 09:27:15 -0700 (PDT) X-Gm-Message-State: APjAAAUg+DPQpWXNmQ7mSpz0C33/xkb/crza9juLi9Y9K7W0nMkRK+Ih /JHd7llLyLxcd4XPisSLK8C6oPKVmLXQZ72+5g== X-Received: by 2002:a0c:8a43:: with SMTP id 3mr61365918qvu.138.1563985634625; Wed, 24 Jul 2019 09:27:14 -0700 (PDT) MIME-Version: 1.0 References: <20190724105626.53552-1-steven.price@arm.com> In-Reply-To: <20190724105626.53552-1-steven.price@arm.com> From: Rob Herring Date: Wed, 24 Jul 2019 10:27:03 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/panfrost: Export all GPU feature registers To: Steven Price , Alyssa Rosenzweig Cc: Daniel Vetter , David Airlie , Tomeu Vizoso , dri-devel , "linux-kernel@vger.kernel.org" , Alyssa Rosenzweig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding Alyssa's Collabora email. On Wed, Jul 24, 2019 at 4:56 AM Steven Price wrote: > > Midgard/Bifrost GPUs have a bunch of feature registers providing details > of what the hardware supports. Panfrost already reads these, this patch > exports them all to user space so that the jobs created by the user space > driver can be tuned for the particular hardware implementation. > > Signed-off-by: Steven Price > --- > drivers/gpu/drm/panfrost/panfrost_device.h | 1 + > drivers/gpu/drm/panfrost/panfrost_drv.c | 38 +++++++++++++++++++-- > drivers/gpu/drm/panfrost/panfrost_gpu.c | 2 ++ > include/uapi/drm/panfrost_drm.h | 39 ++++++++++++++++++++++ > 4 files changed, 77 insertions(+), 3 deletions(-) LGTM. I'll give it a bit more time to see if there are any comments before I apply it. Rob