Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Andrey Grodzovsky
On 04/12/2018 11:10 AM, Michel Dänzer wrote: On 2018-04-12 04:58 PM, Andrey Grodzovsky wrote: On 04/12/2018 10:33 AM, Michel Dänzer wrote: On 2018-04-12 03:33 PM, Alex Deucher wrote: On Thu, Apr 12, 2018 at 7:17 AM, Andrey Grodzovsky wrote: On 04/12/2018 12:32 AM, Alex Deucher wrote: On T

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Michel Dänzer
On 2018-04-12 04:58 PM, Andrey Grodzovsky wrote: > On 04/12/2018 10:33 AM, Michel Dänzer wrote: >> On 2018-04-12 03:33 PM, Alex Deucher wrote: >>> On Thu, Apr 12, 2018 at 7:17 AM, Andrey Grodzovsky >>> wrote: On 04/12/2018 12:32 AM, Alex Deucher wrote: > On Thu, Apr 12, 2018 at 12:08 AM,

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Andrey Grodzovsky
On 04/12/2018 10:33 AM, Michel Dänzer wrote: On 2018-04-12 03:33 PM, Alex Deucher wrote: On Thu, Apr 12, 2018 at 7:17 AM, Andrey Grodzovsky wrote: On 04/12/2018 12:32 AM, Alex Deucher wrote: On Thu, Apr 12, 2018 at 12:08 AM, Andrey Grodzovsky wrote: Reserved VRAM is used to avoid overridi

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Michel Dänzer
On 2018-04-12 03:33 PM, Alex Deucher wrote: > On Thu, Apr 12, 2018 at 7:17 AM, Andrey Grodzovsky > wrote: >> On 04/12/2018 12:32 AM, Alex Deucher wrote: >>> >>> On Thu, Apr 12, 2018 at 12:08 AM, Andrey Grodzovsky >>> wrote: Reserved VRAM is used to avoid overriding pre OS FB. Once

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Alex Deucher
On Thu, Apr 12, 2018 at 7:17 AM, Andrey Grodzovsky wrote: > > > On 04/12/2018 12:32 AM, Alex Deucher wrote: >> >> On Thu, Apr 12, 2018 at 12:08 AM, Andrey Grodzovsky >> wrote: >>> >>> Reserved VRAM is used to avoid overriding pre OS FB. >>> Once our display stack takes over we don't need the rese

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-12 Thread Andrey Grodzovsky
On 04/12/2018 12:32 AM, Alex Deucher wrote: On Thu, Apr 12, 2018 at 12:08 AM, Andrey Grodzovsky wrote: Reserved VRAM is used to avoid overriding pre OS FB. Once our display stack takes over we don't need the reserved VRAM anymore. v2: Remove comment, we know actually why we need to reserve t

Re: [PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-11 Thread Alex Deucher
On Thu, Apr 12, 2018 at 12:08 AM, Andrey Grodzovsky wrote: > Reserved VRAM is used to avoid overriding pre OS FB. > Once our display stack takes over we don't need the reserved > VRAM anymore. > > v2: > Remove comment, we know actually why we need to reserve the stolen VRAM. > Fix return type for

[PATCH v4 2/2] drm/amdgpu: Free VGA stolen memory as soon as possible.

2018-04-11 Thread Andrey Grodzovsky
Reserved VRAM is used to avoid overriding pre OS FB. Once our display stack takes over we don't need the reserved VRAM anymore. v2: Remove comment, we know actually why we need to reserve the stolen VRAM. Fix return type for amdgpu_ttm_late_init. v3: Return 0 in amdgpu_bo_late_init, rebase on chan