RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-16 Thread Deng, Emily
hel Dänzer ; Daniel Vetter > > Cc: dri-de...@lists.freedesktop.org; amd-gfx@lists.freedesktop.org > Subject: RE: [PATCH] drm/amdgpu: For virtual_display feature, define a > variable > for vblank count of cpu vsync timer. > > Hi Michel and Daniel, > Return the fake

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-16 Thread Deng, Emily
gt; From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: Tuesday, August 16, 2016 3:18 PM > To: Deng, Emily > Cc: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: For virtual_display feature, define a > variable > for vblank count

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-16 Thread Daniel Vetter
On Tue, Aug 16, 2016 at 03:43:07PM +0900, Michel Dänzer wrote: > On 16/08/16 03:28 PM, Deng, Emily wrote: > >> From: Michel Dänzer [mailto:mic...@daenzer.net] > >> Sent: Tuesday, August 16, 2016 12:01 PM > >> On 16/08/16 12:49 PM, Deng, Emily wrote: > >>> Hi Michel, Thanks, I still couldn't see the

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-16 Thread Michel Dänzer
On 16/08/16 04:00 PM, Deng, Emily wrote: >> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of >> Michel D?nzer >> Sent: Tuesday, August 16, 2016 2:43 PM >> On 16/08/16 03:28 PM, Deng, Emily wrote: From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: Tuesday, Augus

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-16 Thread Deng, Emily
ATCH] drm/amdgpu: For virtual_display feature, define a > variable > for vblank count of cpu vsync timer. > > On 16/08/16 03:28 PM, Deng, Emily wrote: > >> From: Michel Dänzer [mailto:mic...@daenzer.net] > >> Sent: Tuesday, August 16, 2016 12:01 PM On 16/08/16 12:49 PM, Deng,

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-15 Thread Michel Dänzer
On 16/08/16 03:28 PM, Deng, Emily wrote: >> From: Michel Dänzer [mailto:mic...@daenzer.net] >> Sent: Tuesday, August 16, 2016 12:01 PM >> On 16/08/16 12:49 PM, Deng, Emily wrote: >>> Hi Michel, Thanks, I still couldn't see the issue that use a variable >>> to calculate the vblank count when vsync t

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-15 Thread Deng, Emily
> -Original Message- > From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: Tuesday, August 16, 2016 12:01 PM > To: Deng, Emily > Cc: dri-de...@lists.freedesktop.org; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: For virtual_display feature, de

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-15 Thread Michel Dänzer
On 16/08/16 12:49 PM, Deng, Emily wrote: > Hi Michel, Thanks, I still couldn't see the issue that use a variable > to calculate the vblank count when vsync timer interrupt occurs. I > just think it only emulates the hardware behavior. And the code > change will only in virtual display files which w

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-15 Thread Deng, Emily
ists.freedesktop.org; dri-de...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: For virtual_display feature, define a > variable > for vblank count of cpu vsync timer. > > On 15/08/16 03:45 PM, Deng, Emily wrote: > >> From: Michel Dänzer [mailto:mic...@daenzer.net]

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-15 Thread Michel Dänzer
On 15/08/16 03:45 PM, Deng, Emily wrote: >> From: Michel Dänzer [mailto:mic...@daenzer.net] >> Sent: Monday, August 15, 2016 9:46 AM >> On 11/08/16 12:46 PM, Emily Deng wrote: >>> The adev->ddev->vblank[crtc].count couldn't be used here, so define >>> another variable to compute the vblank count. >

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-14 Thread Deng, Emily
> -Original Message- > From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: Monday, August 15, 2016 9:46 AM > To: Deng, Emily > Cc: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: For virtual_display feature, de

Re: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-14 Thread Michel Dänzer
[ Adding the dri-devel list ] On 11/08/16 12:46 PM, Emily Deng wrote: > The adev->ddev->vblank[crtc].count couldn't be used here, so define another > variable to compute the vblank count. > > Signed-off-by: Emily Deng [...] > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c > b/drivers/

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-14 Thread Deng, Emily
gust 11, 2016 11:47 AM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deng, Emily > > Subject: [PATCH] drm/amdgpu: For virtual_display feature, define a > > variable for vblank count of cpu vsync timer. > > > > The adev->ddev->vblank[crtc].count couldn't

RE: [PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-11 Thread Deng, Emily
ATCH] drm/amdgpu: For virtual_display feature, define a variable > for > vblank count of cpu vsync timer. > > The adev->ddev->vblank[crtc].count couldn't be used here, so define another > variable to compute the vblank count. > > Signed-off-by: Emily Deng > --- >

[PATCH] drm/amdgpu: For virtual_display feature, define a variable for vblank count of cpu vsync timer.

2016-08-10 Thread Emily Deng
The adev->ddev->vblank[crtc].count couldn't be used here, so define another variable to compute the vblank count. Signed-off-by: Emily Deng --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 + drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 10 -- 2 files changed, 5 insertions(+), 6 deletions