From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Peres Subject: Re: [PATCH] drm/radeon/kms: dynamically allocate power state space Date: Thu, 03 Feb 2011 00:47:57 +0100 Message-ID: <4D49ED2D.6090900@free.fr> References: <1296690123-6997-1-git-send-email-alexdeucher@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by gabe.freedesktop.org (Postfix) with ESMTP id 5261C9E9E0 for ; Wed, 2 Feb 2011 15:48:05 -0800 (PST) Received: from [192.168.0.1] (unknown [82.246.199.246]) by smtp4-g21.free.fr (Postfix) with ESMTP id D7B2F4C8093 for ; Thu, 3 Feb 2011 00:48:00 +0100 (CET) In-Reply-To: <1296690123-6997-1-git-send-email-alexdeucher@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Le 03/02/2011 00:42, Alex Deucher a =E9crit : > We previously used a static array, but some new systems > had more states then we had array space, so dynamically > allocate space based on the number of states in the vbios. > > Fixes: > https://bugs.freedesktop.org/show_bug.cgi?id=3D33851 > > Signed-off-by: Alex Deucher > Cc: stable@kernel.org More than 8? Seems like a lot! Any idea why AMD did that? nVidia has 4 power states (we call them perf = levels) at max.