Re: [PATCH] drm/amd/display: Fix vblank refcount in vrr transition

2022-10-17 Thread Guenter Roeck
On Fri, Oct 14, 2022 at 02:27:35PM +, Li, Yunxiang (Teddy) wrote: > [AMD Official Use Only - General] > > > This patch results in a large number of compile errors if > > CONFIG_DEBUG_FS=n. Reverting it fixes the problem. > > > > This is an architecture independent problem. > > > > Guenter >

Re: [PATCH] drm/amd/display: Fix vblank refcount in vrr transition

2022-10-17 Thread Guenter Roeck
On Wed, Sep 21, 2022 at 05:20:19PM -0400, Yunxiang Li wrote: > manage_dm_interrupts disable/enable vblank using drm_crtc_vblank_off/on > which causes drm_crtc_vblank_get in vrr_transition to fail, and later > when drm_crtc_vblank_put is called the refcount on vblank will be messed > up. Therefore

RE: [PATCH] drm/amd/display: Fix vblank refcount in vrr transition

2022-10-14 Thread Li, Yunxiang (Teddy)
[AMD Official Use Only - General] > This patch results in a large number of compile errors if CONFIG_DEBUG_FS=n. > Reverting it fixes the problem. > > This is an architecture independent problem. > > Guenter Oops, seem to be because at amdgpu_dm.c:8328 the } should be inside the #endif not