Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5229107pxv; Tue, 20 Jul 2021 23:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRHjCPPiOt9eyz31BvQ2Cp9yrZq6p8Zqdq0BL4ZOVuPKNwA/DtcTEb6Gd3iASvLFvYwum+ X-Received: by 2002:a17:906:4fd6:: with SMTP id i22mr37473984ejw.92.1626850515885; Tue, 20 Jul 2021 23:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626850515; cv=none; d=google.com; s=arc-20160816; b=UOiA3Blg7VA1rPPJl5WLZqu3HaH5vPbe34ZbTGxc1TeZnBZNDg9UD3W4NZtnZ5zoV7 CZPYIm/OPnBxH0U468dEA5ydtf8sifDl7NWw2dUmQ4EqSgcYU1E6lNlyf4ip0uIzagQL elX940M76SpmUbvbW1lvS0zXck1SeIAjZHjy4NndV9XayFtJtIPJEnZ72HRbn5dI2srH 8wTto9PQ7wSQSNG6C790vBDrDgPoVo729S9hVvNPyoGTp7jyWLhi1mVi/O/whBpG1DkY QHulvwnE9jN9pN6022ppdXKNC7cFIYegZskflBEnbcHSOQhhiqV0eZFdiiZGRyqjR0S/ qpzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+skYpVFx7D26gZP3u4sFvQmDQJ66kJNmYAf8MY+5yFI=; b=I5U+cv1gXgkh8e95Dg3+12PT7Y/XfKttJr2q5NuDj5m1okZ1EB3PsWP5Q1C2ZzDQI5 yhNIJZr1bjwapBmZEj+XYsSXhVvDCAd6fQTjXkdWRNXiRl0iV8o70LLLxb9ojnn6+c3F fOztvZ+lkpdpBMdW5O30UQH5DEVgr6qk+iwAZnX044G68gTx5a1CrfirC/tE4nQruvvF MLy/DyMuz6OorWAJHD5+kD1Vw6NeIBtLK31c3sVDuECtBRc1xhAlkXyGc2LV7YXMD/3A H8xWwhrryrg7nen4MHN1GOQ5Luts15lVm/nTPio3c2wNZz4XxIwjal4NbXiHbXOqoasp R10g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TaTMVqhl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si29229137edr.480.2021.07.20.23.54.51; Tue, 20 Jul 2021 23:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TaTMVqhl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233756AbhGUGMc (ORCPT + 99 others); Wed, 21 Jul 2021 02:12:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233627AbhGUGM0 (ORCPT ); Wed, 21 Jul 2021 02:12:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED102C061574 for ; Tue, 20 Jul 2021 23:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+skYpVFx7D26gZP3u4sFvQmDQJ66kJNmYAf8MY+5yFI=; b=TaTMVqhlAYzzaMNEl9YC7dzmxn 1CXjRkMdMpvsxrcDsiWSN+C7YsUcSGcnzfszUyULbfcS4ooEOY9tYgSTcSDi8G0+oWilUGS6sOcPf nLp4xhpCmloqX13mk1sMDi5gtqkhduaQ+k6J7vhS99Z+ty7iwqeV+TAF87tjbFtL39SRWdu7qwI4I Vgt4l+1YRSeRmJMUI+A2kV6QVzaS/HZMFW/RSB+q0xG3mDki08KQH4msQrqT0KjcXd87usNNUZ9Ch ufmPwWhMwnf8G0/afdBOJAMzOP2q4EjptdlCBBhK1vzXw/mz7U7siUAfM4yKdONCURjyTTfLtOm62 Wn3DySvA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m665B-008tgP-6t; Wed, 21 Jul 2021 06:51:56 +0000 Date: Wed, 21 Jul 2021 07:51:53 +0100 From: Christoph Hellwig To: Christian K??nig Cc: Anson Jacob , mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, christophe.leroy@csgroup.eu, linuxppc-dev@lists.ozlabs.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sunpeng.Li@amd.com, Harry.Wentland@amd.com, qingqing.zhuo@amd.com, Rodrigo.Siqueira@amd.com, roman.li@amd.com, Christoph Hellwig , Aurabindo.Pillai@amd.com, Bhawanpreet.Lakha@amd.com, bindu.r@amd.com Subject: Re: [RFC v2 2/2] drm/amd/display: Use PPC FPU functions Message-ID: References: <20210721044801.840501-1-Anson.Jacob@amd.com> <20210721044801.840501-3-Anson.Jacob@amd.com> <9094cea1-602e-6e71-4ff7-c06fd04af6c5@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9094cea1-602e-6e71-4ff7-c06fd04af6c5@amd.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 21, 2021 at 08:29:43AM +0200, Christian K??nig wrote: > Looks good in general, but question is what about other architectures like > ARM? DRM_AMD_DC_DCN currently requires X86 || PPC64. Maybe a good think would be to add a new KERNEL_FPU_API Kconfig symbol, selected by x86 and powerpc (I think ppc32 should be fine too now) so that we get these arch dependencies out of the driver.