Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-27 Thread Michel Dänzer
On 2018-12-21 7:23 p.m., Koenig, Christian wrote: > Am 21.12.18 um 19:19 schrieb Alex Deucher: >> On Fri, Dec 21, 2018 at 1:15 PM Christian König >> wrote: >>> Am 21.12.18 um 10:09 schrieb Deng, Emily: > From: Michel Dänzer > On 2018-12-21 9:45 a.m., Deng, Emily wrote: >>> From:

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Koenig, Christian
8 4:52 PM >>>> To: Deng, Emily >>>> Cc: amd-gfx@lists.freedesktop.org >>>> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo >>>> >>>> On 2018-12-21 9:45 a.m., Deng, Emily wrote: >>>>>> -Original Mess

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Alex Deucher
lists.freedesktop.org > >> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >> > >> On 2018-12-21 9:45 a.m., Deng, Emily wrote: > >>>> -Original Message- > >>>> From: Michel Dänzer > >>>> Sent: Fr

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Christian König
Am 21.12.18 um 10:09 schrieb Deng, Emily: -Original Message- From: Michel Dänzer Sent: Friday, December 21, 2018 4:52 PM To: Deng, Emily Cc: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo On 2018-12-21 9:45 a.m., Deng, Emily wrote

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 11:15 a.m., Deng, Emily wrote: >> -Original Message- >> From: Michel Dänzer >> Sent: Friday, December 21, 2018 6:08 PM >> To: Deng, Emily >> Cc: amd-gfx@lists.freedesktop.org >> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin t

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: Michel Dänzer >Sent: Friday, December 21, 2018 6:08 PM >To: Deng, Emily >Cc: amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >On 2018-12-21 10:55 a.m., Deng, Emily wrote: &

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 10:55 a.m., Deng, Emily wrote: >> -Original Message- >> From: amd-gfx On Behalf Of Deng, >> Emily >> Sent: Friday, December 21, 2018 5:41 PM >> To: Michel Dänzer >> Cc: amd-gfx@lists.freedesktop.org >> Subject: RE: [PATCH] drm/a

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: amd-gfx On Behalf Of Deng, >Emily >Sent: Friday, December 21, 2018 5:41 PM >To: Michel Dänzer >Cc: amd-gfx@lists.freedesktop.org >Subject: RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >>-Original Message-

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: Michel Dänzer >Sent: Friday, December 21, 2018 5:37 PM >To: Deng, Emily >Cc: amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >On 2018-12-21 10:32 a.m., Deng, Emily wrote: &

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 10:32 a.m., Deng, Emily wrote: >> -Original Message- >> From: Michel Dänzer >> Sent: Friday, December 21, 2018 5:28 PM >> To: Deng, Emily >> Cc: amd-gfx@lists.freedesktop.org >> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin t

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: Michel Dänzer >Sent: Friday, December 21, 2018 5:28 PM >To: Deng, Emily >Cc: amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >On 2018-12-21 10:17 a.m., Deng, Emily wrote: >

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 10:17 a.m., Deng, Emily wrote: >> From: amd-gfx On Behalf Of Deng, >> Emily >>> From: Michel Dänzer >>> On 2018-12-21 9:45 a.m., Deng, Emily wrote: > From: Michel Dänzer > On 2018-12-21 8:26 a.m., Emily Deng wrote: >> When the bo is used to set mode, the bo need to be

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: amd-gfx On Behalf Of Deng, >Emily >Sent: Friday, December 21, 2018 5:10 PM >To: Michel Dänzer >Cc: amd-gfx@lists.freedesktop.org >Subject: RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >>-Original Message-

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: Michel Dänzer >Sent: Friday, December 21, 2018 4:52 PM >To: Deng, Emily >Cc: amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >On 2018-12-21 9:45 a.m., Deng, Emily wrote: &

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 9:45 a.m., Deng, Emily wrote: >> -Original Message- >> From: Michel Dänzer >> Sent: Friday, December 21, 2018 4:38 PM >> To: Deng, Emily >> Cc: amd-gfx@lists.freedesktop.org >> Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the

RE: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Deng, Emily
>-Original Message- >From: Michel Dänzer >Sent: Friday, December 21, 2018 4:38 PM >To: Deng, Emily >Cc: amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo > >On 2018-12-21 8:26 a.m., Emily Deng wrote: >> W

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 8:26 a.m., Emily Deng wrote: > When the bo is used to set mode, the bo need to be pinned. On second thought, why does the BO need to be pinned? When using the display hardware, the BO needs to be pinned to prevent it from being moved while the hardware is scanning out from it, but

Re: [PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-21 Thread Michel Dänzer
On 2018-12-21 8:26 a.m., Emily Deng wrote: > When the bo is used to set mode, the bo need to be pinned. > > Signed-off-by: Emily Deng > > [...] > > @@ -235,6 +222,47 @@ static bool dce_virtual_crtc_mode_fixup(struct drm_crtc > *crtc, > static int dce_virtual_crtc_set_base(struct drm_crtc

[PATCH] drm/amdgpu/virtual_dce: Need to pin the fb's bo

2018-12-20 Thread Emily Deng
When the bo is used to set mode, the bo need to be pinned. Signed-off-by: Emily Deng --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 54 1 file changed, 41 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c