Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-22 Thread Michel Dänzer
On 2018-05-18 09:12 PM, Alex Deucher wrote: > On Fri, May 18, 2018 at 4:21 AM, Michel Dänzer wrote: >> On 2018-05-17 06:55 PM, Alex Deucher wrote: >>> If the pin domain is set to GTT | VRAM, look at the preferred domains >>> for the bo and respect that if it's been set

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-22 Thread Christian König
[SNIP] It's not that low resolution these days (normally the smallest native resolution of all connected displays, i.e. generally >= 1920x1080), i.e. on the order of ~10 MB of VRAM that can't be used for anything else. Hui, what? Isn't the fb freed after X takes over? Nope, that isn't possible

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-22 Thread Michel Dänzer
On 2018-05-22 11:11 AM, Christian König wrote: > Am 22.05.2018 um 09:22 schrieb Michel Dänzer: >> On 2018-05-19 05:59 PM, Christian König wrote: >>> Am 18.05.2018 um 21:16 schrieb Alex Deucher: On Fri, May 18, 2018 at 2:22 PM, Samuel Li wrote: > On 2018-05-18 04:21 AM,

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-22 Thread Christian König
Am 22.05.2018 um 09:22 schrieb Michel Dänzer: On 2018-05-19 05:59 PM, Christian König wrote: Am 18.05.2018 um 21:16 schrieb Alex Deucher: On Fri, May 18, 2018 at 2:22 PM, Samuel Li wrote: On 2018-05-18 04:21 AM, Michel Dänzer wrote: On 2018-05-17 06:55 PM, Alex Deucher

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-22 Thread Michel Dänzer
On 2018-05-19 05:59 PM, Christian König wrote: > Am 18.05.2018 um 21:16 schrieb Alex Deucher: >> On Fri, May 18, 2018 at 2:22 PM, Samuel Li wrote: >>> >>> On 2018-05-18 04:21 AM, Michel Dänzer wrote: On 2018-05-17 06:55 PM, Alex Deucher wrote: > If the pin domain is

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-19 Thread Christian König
Am 18.05.2018 um 21:16 schrieb Alex Deucher: On Fri, May 18, 2018 at 2:22 PM, Samuel Li wrote: On 2018-05-18 04:21 AM, Michel Dänzer wrote: On 2018-05-17 06:55 PM, Alex Deucher wrote: If the pin domain is set to GTT | VRAM, look at the preferred domains for the bo and

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-18 Thread Alex Deucher
On Fri, May 18, 2018 at 2:22 PM, Samuel Li wrote: > > > On 2018-05-18 04:21 AM, Michel Dänzer wrote: >> On 2018-05-17 06:55 PM, Alex Deucher wrote: >>> If the pin domain is set to GTT | VRAM, look at the preferred domains >>> for the bo and respect that if it's been set

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-18 Thread Alex Deucher
On Fri, May 18, 2018 at 4:21 AM, Michel Dänzer wrote: > On 2018-05-17 06:55 PM, Alex Deucher wrote: >> If the pin domain is set to GTT | VRAM, look at the preferred domains >> for the bo and respect that if it's been set explicitly. >> >> Signed-off-by: Alex Deucher

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-18 Thread Samuel Li
On 2018-05-18 04:21 AM, Michel Dänzer wrote: > On 2018-05-17 06:55 PM, Alex Deucher wrote: >> If the pin domain is set to GTT | VRAM, look at the preferred domains >> for the bo and respect that if it's been set explicitly. >> >> Signed-off-by: Alex Deucher >> --- >>

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-18 Thread Christian König
Am 17.05.2018 um 18:55 schrieb Alex Deucher: If the pin domain is set to GTT | VRAM, look at the preferred domains for the bo and respect that if it's been set explicitly. Signed-off-by: Alex Deucher Reviewed-by: Christian König ---

Re: [PATCH] drm/amdgpu: consider user preference when pinning for SG display

2018-05-18 Thread Michel Dänzer
On 2018-05-17 06:55 PM, Alex Deucher wrote: > If the pin domain is set to GTT | VRAM, look at the preferred domains > for the bo and respect that if it's been set explicitly. > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 9