linux-mips
[Top] [All Lists]

Re: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB

To: Huacai Chen <chenhuacai@gmail.com>
Subject: Re: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).
From: Matt Turner <mattst88@gmail.com>
Date: Wed, 15 Aug 2012 18:58:51 -0700
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Fuxin Zhang <zhangfx@lemote.com>, Zhangjin Wu <wuzhangjin@gmail.com>, Huacai Chen <chenhc@lemote.com>, Hongliang Tao <taohl@lemote.com>, Hua Yan <yanh@lemote.com>, dri-devel@lists.freedesktop.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lFipB3L2JOw9tOaNbmp+DPu9t7LlMeovncZETIbJiRY=; b=xIYnJLBCQh6KGW8zJK814Dhr1+LUxwonShB+GGNsFTfH5GQRSPvuMH0SlRmAMW5ru1 UWcf56W/Cp2zp3ozOVXF/UMU7rC36P+ZQmf3p8wRW2XXydQaCM8d5eSBh2Tx/sjGMU/j Am3oUfdcdC2JxB/F4ocPEIzayHtKO9kfXjO/oG9m9Mz8BvBKzUcmNxlpvNefPCi/gSCc YeJtqyIcCJLVQdzU5dsecSy6vf2+Upz9LOVxfGoVn0iGE+Uhw+b9mq8VddQ9Ic9zlXgz qf3gD8KV9lII5JX9QdjKkCH/4AqVCGlSBcnXuYF/+ICTVnftYRQTZhGJTNYiL1pciIa4 i3yg==
In-reply-to: <1344677543-22591-14-git-send-email-chenhc@lemote.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1344677543-22591-1-git-send-email-chenhc@lemote.com> <1344677543-22591-14-git-send-email-chenhc@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
On Sat, Aug 11, 2012 at 2:32 AM, Huacai Chen <chenhuacai@gmail.com> wrote:
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> Signed-off-by: Hongliang Tao <taohl@lemote.com>
> Signed-off-by: Hua Yan <yanh@lemote.com>
> Cc: dri-devel@lists.freedesktop.org
> ---
>  include/drm/drm_sarea.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h
> index ee5389d..1d1a858 100644
> --- a/include/drm/drm_sarea.h
> +++ b/include/drm/drm_sarea.h
> @@ -37,6 +37,8 @@
>  /* SAREA area needs to be at least a page */
>  #if defined(__alpha__)
>  #define SAREA_MAX                       0x2000U
> +#elif defined(__mips__)
> +#define SAREA_MAX                       0x4000U
>  #elif defined(__ia64__)
>  #define SAREA_MAX                       0x10000U       /* 64kB */
>  #else
> --
> 1.7.7.3

SAREA is a DRI-1 concept. The Radeon drivers you're using is DRI-2, so
what do you need this for? All the DRI-1 drivers have been removed
from Mesa, so I think the answer is nothing.

<Prev in Thread] Current Thread [Next in Thread>