Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758862AbaDBOXl (ORCPT ); Wed, 2 Apr 2014 10:23:41 -0400 Received: from mail-oa0-f51.google.com ([209.85.219.51]:56592 "EHLO mail-oa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758816AbaDBOXj (ORCPT ); Wed, 2 Apr 2014 10:23:39 -0400 MIME-Version: 1.0 In-Reply-To: References: <1395650554-31925-1-git-send-email-acourbot@nvidia.com> <1395650554-31925-12-git-send-email-acourbot@nvidia.com> <20140324231014.GI17218@mithrandir> Date: Wed, 2 Apr 2014 10:23:39 -0400 X-Google-Sender-Auth: N6H5_CTF124KyocjGMPTtBAXRCk Message-ID: Subject: Re: [Nouveau] [PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init() From: Ilia Mirkin To: Alexandre Courbot Cc: Ben Skeggs , "nouveau@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Ben Skeggs , "linux-tegra@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 2, 2014 at 10:14 AM, Alexandre Courbot wrote: >>>> + /* Need to figure out how to handle sw for gk20a */ >>>> + if (device->chipset == 0xea) >>>> + goto skip_sw_init; >>> >>> The commit message makes it sound like SW isn't needed since gk20a >>> "lacks any display hardware". In that case the comment here doesn't make >>> much sense. > > Correct. As far as I have looked (that is, not very far), SW methods > are used for display-related functions, but there might be other > use-cases too. Maybe someone who knows better can confirm? http://cgit.freedesktop.org/~darktama/nouveau/tree/nvkm/engine/software/nvc0.c Take a look at nvc0_software_mthd_mp_control -- that's used in the mesa driver to... well, control those things :) They're related to PGRAPH, which should be available on the GK20A. [Not sure what they do though. One of them is about turning off error reporting.] -ilia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/