On 23.10.2012 18:45, Klaus Schnass wrote:
>> /**
>> + * radeon_check_pot_argument - check that argument is a power of two
>> + *
>> + * @arg: value to check
>> + *
>> + * Validates that a certain argument is a power of two (all asics).
>> + * Returns true if argument is valid.
>> + */
>> +static bo
On Wed, Oct 24, 2012 at 11:31 AM, Christian K?nig
wrote:
> On 23.10.2012 18:45, Klaus Schnass wrote:
>>>
>>> /**
>>> + * radeon_check_pot_argument - check that argument is a power of two
>>> + *
>>> + * @arg: value to check
>>> + *
>>> + * Validates that a certain argument is a power of two (all a
On Wed, Oct 24, 2012 at 11:31 AM, Christian König
wrote:
> On 23.10.2012 18:45, Klaus Schnass wrote:
>>>
>>> /**
>>> + * radeon_check_pot_argument - check that argument is a power of two
>>> + *
>>> + * @arg: value to check
>>> + *
>>> + * Validates that a certain argument is a power of two (all a
On 23.10.2012 18:45, Klaus Schnass wrote:
/**
+ * radeon_check_pot_argument - check that argument is a power of two
+ *
+ * @arg: value to check
+ *
+ * Validates that a certain argument is a power of two (all asics).
+ * Returns true if argument is valid.
+ */
+static bool radeon_ckeck_pot_argum
> /**
>+ * radeon_check_pot_argument - check that argument is a power of two
>+ *
>+ * @arg: value to check
>+ *
>+ * Validates that a certain argument is a power of two (all asics).
>+ * Returns true if argument is valid.
>+ */
>+static bool radeon_ckeck_pot_argument(int arg)
>+{
>+ return (
> /**
>+ * radeon_check_pot_argument - check that argument is a power of two
>+ *
>+ * @arg: value to check
>+ *
>+ * Validates that a certain argument is a power of two (all asics).
>+ * Returns true if argument is valid.
>+ */
>+static bool radeon_ckeck_pot_argument(int arg)
>+{
>+ return (
On Die, 2012-10-23 at 15:53 +0200, Christian K?nig wrote:
> GART and VRAM size limits need to be a power of two.
> Fix values greater than 1GB and simplify those checks a bit.
>
> v2: also fix radeon_vram_limit usage, and simplify test even more.
>
> Signed-off-by: Christian K?nig
Reviewed-by:
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
v2: also fix radeon_vram_limit usage, and simplify test even more.
Signed-off-by: Christian K?nig
---
drivers/gpu/drm/radeon/radeon_device.c | 60 +---
On 23.10.2012 14:44, Michel D?nzer wrote:
> On Die, 2012-10-23 at 14:23 +0200, Christian K?nig wrote:
>> GART and VRAM size limits need to be a power of two.
>> Fix values greater than 1GB and simplify those checks a bit.
>>
>> Signed-off-by: Christian K?nig
>> ---
>> drivers/gpu/drm/radeon/rade
On Die, 2012-10-23 at 14:23 +0200, Christian K?nig wrote:
> GART and VRAM size limits need to be a power of two.
> Fix values greater than 1GB and simplify those checks a bit.
>
> Signed-off-by: Christian K?nig
> ---
> drivers/gpu/drm/radeon/radeon_device.c | 55
> ---
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
Signed-off-by: Christian K?nig
---
drivers/gpu/drm/radeon/radeon_device.c | 55
1 file changed, 21 insertions(+), 34 deletions(-)
diff --git a/dri
On Die, 2012-10-23 at 15:53 +0200, Christian König wrote:
> GART and VRAM size limits need to be a power of two.
> Fix values greater than 1GB and simplify those checks a bit.
>
> v2: also fix radeon_vram_limit usage, and simplify test even more.
>
> Signed-off-by: Christian König
Reviewed-by:
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
v2: also fix radeon_vram_limit usage, and simplify test even more.
Signed-off-by: Christian König
---
drivers/gpu/drm/radeon/radeon_device.c | 60 +---
On 23.10.2012 14:44, Michel Dänzer wrote:
On Die, 2012-10-23 at 14:23 +0200, Christian König wrote:
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
Signed-off-by: Christian König
---
drivers/gpu/drm/radeon/radeon_device.c |
On Die, 2012-10-23 at 14:23 +0200, Christian König wrote:
> GART and VRAM size limits need to be a power of two.
> Fix values greater than 1GB and simplify those checks a bit.
>
> Signed-off-by: Christian König
> ---
> drivers/gpu/drm/radeon/radeon_device.c | 55
> ---
GART and VRAM size limits need to be a power of two.
Fix values greater than 1GB and simplify those checks a bit.
Signed-off-by: Christian König
---
drivers/gpu/drm/radeon/radeon_device.c | 55
1 file changed, 21 insertions(+), 34 deletions(-)
diff --git a/dri
16 matches
Mail list logo