[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-03-02 Thread Alex Deucher
On Sat, Mar 1, 2014 at 5:29 AM, Christian K?nig wrote: > Am 01.03.2014 10:15, schrieb Lauri Kasanen: > >> On Sat, 1 Mar 2014 06:47:41 +1000 >> Dave Airlie wrote: >> >>> On Sat, Mar 1, 2014 at 5:56 AM, Christian K?nig >>> wrote: Am 28.02.2014 19:50, schrieb Lauri Kasanen: > Wi

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-03-01 Thread Christian König
Am 01.03.2014 10:15, schrieb Lauri Kasanen: > On Sat, 1 Mar 2014 06:47:41 +1000 > Dave Airlie wrote: > >> On Sat, Mar 1, 2014 at 5:56 AM, Christian K?nig >> wrote: >>> Am 28.02.2014 19:50, schrieb Lauri Kasanen: >>> Without this, a bo may get created in the cpu-inaccessible vram. Befor

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-03-01 Thread Lauri Kasanen
On Sat, 1 Mar 2014 06:47:41 +1000 Dave Airlie wrote: > On Sat, Mar 1, 2014 at 5:56 AM, Christian K?nig > wrote: > > Am 28.02.2014 19:50, schrieb Lauri Kasanen: > > > >> Without this, a bo may get created in the cpu-inaccessible vram. > >> Before the CP engines get setup, all copies are done via

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-03-01 Thread Dave Airlie
On Sat, Mar 1, 2014 at 5:56 AM, Christian K?nig wrote: > Am 28.02.2014 19:50, schrieb Lauri Kasanen: > >> Without this, a bo may get created in the cpu-inaccessible vram. >> Before the CP engines get setup, all copies are done via cpu memcpy. >> >> This means that the cpu tries to read from inacc

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-02-28 Thread Christian König
Am 28.02.2014 19:50, schrieb Lauri Kasanen: > Without this, a bo may get created in the cpu-inaccessible vram. > Before the CP engines get setup, all copies are done via cpu memcpy. > > This means that the cpu tries to read from inaccessible memory, fails, > and the radeon module proceeds to disabl

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-02-28 Thread Lauri Kasanen
Without this, a bo may get created in the cpu-inaccessible vram. Before the CP engines get setup, all copies are done via cpu memcpy. This means that the cpu tries to read from inaccessible memory, fails, and the radeon module proceeds to disable acceleration. Doing this has no downsides, as the

[PATCH] drm/radeon: TTM must be init with cpu-visible VRAM, v2

2014-02-28 Thread Alex Deucher
On Fri, Feb 28, 2014 at 1:50 PM, Lauri Kasanen wrote: > Without this, a bo may get created in the cpu-inaccessible vram. > Before the CP engines get setup, all copies are done via cpu memcpy. > > This means that the cpu tries to read from inaccessible memory, fails, > and the radeon module proceed