[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Dave Airlie
2010/12/9 Michel D?nzer : > On Fre, 2010-12-03 at 16:38 -0500, jglisse at redhat.com wrote: >> From: Jerome Glisse >> >> Forbid allocating buffer bigger than visible VRAM or GTT, also >> properly set lpfn field. >> >> v2 - use max macro >> ? ?- silence warning >> v3 - don't explicitly set range

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Michel Dänzer
On Don, 2010-12-09 at 20:19 +1000, Dave Airlie wrote: > 2010/12/9 Michel D?nzer : > > On Fre, 2010-12-03 at 16:38 -0500, jglisse at redhat.com wrote: > >> From: Jerome Glisse > >> > >> Forbid allocating buffer bigger than visible VRAM or GTT, also > >> properly set lpfn field. > >> > >> v2 - use

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Michel Dänzer
On Fre, 2010-12-03 at 16:38 -0500, jglisse at redhat.com wrote: > From: Jerome Glisse > > Forbid allocating buffer bigger than visible VRAM or GTT, also > properly set lpfn field. > > v2 - use max macro >- silence warning > v3 - don't explicitly set range limit >- use min macro > >

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v4

2010-12-09 Thread jgli...@redhat.com
From: Jerome Glisse Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning v3 - don't explicitly set range limit - use min macro v4 - use max btw GTT & VRAM size Cc: stable Signed-off-by: Jerome

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Alex Deucher
2010/12/9 Dave Airlie : > 2010/12/9 Michel D?nzer : >> On Fre, 2010-12-03 at 16:38 -0500, jglisse at redhat.com wrote: >>> From: Jerome Glisse >>> >>> Forbid allocating buffer bigger than visible VRAM or GTT, also >>> properly set lpfn field. >>> >>> v2 - use max macro >>> ? ?- silence warning

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Michel Dänzer
On Fre, 2010-12-03 at 16:38 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning v3 - don't explicitly set range limit - use min macro

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Dave Airlie
2010/12/9 Michel Dänzer mic...@daenzer.net: On Fre, 2010-12-03 at 16:38 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro    - silence warning v3 - don't

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Michel Dänzer
On Don, 2010-12-09 at 20:19 +1000, Dave Airlie wrote: 2010/12/9 Michel Dänzer mic...@daenzer.net: On Fre, 2010-12-03 at 16:38 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field.

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-09 Thread Alex Deucher
2010/12/9 Dave Airlie airl...@gmail.com: 2010/12/9 Michel Dänzer mic...@daenzer.net: On Fre, 2010-12-03 at 16:38 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v4

2010-12-09 Thread jglisse
From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning v3 - don't explicitly set range limit - use min macro v4 - use max btw GTT VRAM size Cc: stable sta...@kernel.org

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-03 Thread jgli...@redhat.com
From: Jerome Glisse Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning v3 - don't explicitly set range limit - use min macro Cc: stable Signed-off-by: Jerome Glisse ---

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v3

2010-12-03 Thread jglisse
From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning v3 - don't explicitly set range limit - use min macro Cc: stable sta...@kernel.org Signed-off-by: Jerome Glisse

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-29 Thread Thomas Hellstrom
On 11/22/2010 06:31 PM, Thomas Hellstrom wrote: > On 11/22/2010 06:07 PM, Jerome Glisse wrote: >> 2010/11/22 Michel D?nzer: >>> On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: From: Jerome Glisse Forbid allocating buffer bigger than visible VRAM or GTT, also

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-29 Thread Jerome Glisse
On Mon, Nov 29, 2010 at 5:13 AM, Thomas Hellstrom wrote: > On 11/22/2010 06:31 PM, Thomas Hellstrom wrote: >> >> On 11/22/2010 06:07 PM, Jerome Glisse wrote: >>> >>> 2010/11/22 Michel D?nzer: On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: > > From: Jerome

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-29 Thread Thomas Hellstrom
On 11/22/2010 06:31 PM, Thomas Hellstrom wrote: On 11/22/2010 06:07 PM, Jerome Glisse wrote: 2010/11/22 Michel Dänzermic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500, jgli...@redhat.com wrote: From: Jerome Glissejgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-29 Thread Jerome Glisse
On Mon, Nov 29, 2010 at 5:13 AM, Thomas Hellstrom tho...@shipmail.org wrote: On 11/22/2010 06:31 PM, Thomas Hellstrom wrote: On 11/22/2010 06:07 PM, Jerome Glisse wrote: 2010/11/22 Michel Dänzermic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500, jgli...@redhat.com wrote: From: Jerome

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Thomas Hellstrom
On 11/22/2010 06:07 PM, Jerome Glisse wrote: > 2010/11/22 Michel D?nzer: > >> On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: >> >>> From: Jerome Glisse >>> >>> Forbid allocating buffer bigger than visible VRAM or GTT, also >>> properly set lpfn field. >>> >>> v2 - use

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Michel Dänzer
On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: > From: Jerome Glisse > > Forbid allocating buffer bigger than visible VRAM or GTT, also > properly set lpfn field. > > v2 - use max macro >- silence warning > > Signed-off-by: Jerome Glisse > --- >

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Alex Deucher
On Mon, Nov 22, 2010 at 12:35 PM, Jerome Glisse wrote: > On Mon, Nov 22, 2010 at 12:31 PM, Thomas Hellstrom > wrote: >> On 11/22/2010 06:07 PM, Jerome Glisse wrote: >>> >>> 2010/11/22 Michel D?nzer: >>> On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: > >

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Jerome Glisse
On Mon, Nov 22, 2010 at 12:31 PM, Thomas Hellstrom wrote: > On 11/22/2010 06:07 PM, Jerome Glisse wrote: >> >> 2010/11/22 Michel D?nzer: >> >>> >>> On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: >>> From: Jerome Glisse Forbid allocating buffer bigger than

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Alex Deucher
2010/11/22 Jerome Glisse : > 2010/11/22 Michel D?nzer : >> On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: >>> From: Jerome Glisse >>> >>> Forbid allocating buffer bigger than visible VRAM or GTT, also >>> properly set lpfn field. >>> >>> v2 - use max macro >>> ? ?- silence

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Jerome Glisse
2010/11/22 Michel D?nzer : > On Fre, 2010-11-19 at 16:34 -0500, jglisse at redhat.com wrote: >> From: Jerome Glisse >> >> Forbid allocating buffer bigger than visible VRAM or GTT, also >> properly set lpfn field. >> >> v2 - use max macro >> ? ?- silence warning >> >> Signed-off-by: Jerome Glisse

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Jerome Glisse
2010/11/22 Michel Dänzer mic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro    - silence warning Signed-off-by:

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Alex Deucher
2010/11/22 Jerome Glisse j.gli...@gmail.com: 2010/11/22 Michel Dänzer mic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Jerome Glisse
On Mon, Nov 22, 2010 at 12:31 PM, Thomas Hellstrom tho...@shipmail.org wrote: On 11/22/2010 06:07 PM, Jerome Glisse wrote: 2010/11/22 Michel Dänzermic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500, jgli...@redhat.com wrote: From: Jerome Glissejgli...@redhat.com Forbid allocating

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-22 Thread Alex Deucher
On Mon, Nov 22, 2010 at 12:35 PM, Jerome Glisse j.gli...@gmail.com wrote: On Mon, Nov 22, 2010 at 12:31 PM, Thomas Hellstrom tho...@shipmail.org wrote: On 11/22/2010 06:07 PM, Jerome Glisse wrote: 2010/11/22 Michel Dänzermic...@daenzer.net: On Fre, 2010-11-19 at 16:34 -0500,

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-19 Thread jgli...@redhat.com
From: Jerome Glisse Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon_object.c | 34 ++- 1 files

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708)

2010-11-19 Thread Alex Deucher
On Fri, Nov 19, 2010 at 4:01 PM, wrote: > From: Jerome Glisse > > Forbid allocating buffer bigger than visible VRAM or GTT, also > properly set lpfn field. > > Signed-off-by: Jerome Glisse > --- > ?drivers/gpu/drm/radeon/radeon_object.c | ? 36 ++- > ?1 files

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708)

2010-11-19 Thread jgli...@redhat.com
From: Jerome Glisse Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon_object.c | 36 ++- 1 files changed, 30 insertions(+), 6 deletions(-)

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708)

2010-11-19 Thread jglisse
From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. Signed-off-by: Jerome Glisse jgli...@redhat.com --- drivers/gpu/drm/radeon/radeon_object.c | 36 ++- 1 files changed, 30 insertions(+), 6

Re: [PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708)

2010-11-19 Thread Alex Deucher
On Fri, Nov 19, 2010 at 4:01 PM, jgli...@redhat.com wrote: From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. Signed-off-by: Jerome Glisse jgli...@redhat.com ---  drivers/gpu/drm/radeon/radeon_object.c |   36

[PATCH] drm/radeon/kms: forbid big bo allocation (fdo 31708) v2

2010-11-19 Thread jglisse
From: Jerome Glisse jgli...@redhat.com Forbid allocating buffer bigger than visible VRAM or GTT, also properly set lpfn field. v2 - use max macro - silence warning Signed-off-by: Jerome Glisse jgli...@redhat.com --- drivers/gpu/drm/radeon/radeon_object.c | 34