Re: [PATCH v2] drm: fix error found in some cases after the patch d1af5cd86997

2021-12-21 Thread Claudio Suarez
On Mon, Dec 20, 2021 at 06:11:31PM +0100, Daniel Vetter wrote: > On Mon, Dec 20, 2021 at 10:18:38AM +0100, Daniel Vetter wrote: > > On Thu, Dec 02, 2021 at 10:51:12AM +0100, Claudio Suarez wrote: > > > The patch d1af5cd86997 ("drm: get rid of DRM_DEBUG_* log > > > calls in drm core, files

Re: [PATCH v2] drm: fix error found in some cases after the patch d1af5cd86997

2021-12-20 Thread Daniel Vetter
On Mon, Dec 20, 2021 at 10:18:38AM +0100, Daniel Vetter wrote: > On Thu, Dec 02, 2021 at 10:51:12AM +0100, Claudio Suarez wrote: > > The patch d1af5cd86997 ("drm: get rid of DRM_DEBUG_* log > > calls in drm core, files drm_a*.c") fails when the drm_device > > cannot be found in the parameter

Re: [PATCH v2] drm: fix error found in some cases after the patch d1af5cd86997

2021-12-20 Thread Daniel Vetter
On Thu, Dec 02, 2021 at 10:51:12AM +0100, Claudio Suarez wrote: > The patch d1af5cd86997 ("drm: get rid of DRM_DEBUG_* log > calls in drm core, files drm_a*.c") fails when the drm_device > cannot be found in the parameter plane_state->crtc. > Fix it using plane_state->plane. > > Reported-by:

Re: [PATCH v2] drm: fix error found in some cases after the patch d1af5cd86997

2021-12-02 Thread Claudio Suarez
The patch d1af5cd86997 ("drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c") fails when the drm_device cannot be found in the parameter plane_state->crtc. Fix it using plane_state->plane. Reported-by: kernel test robot Fixes: d1af5cd86997 ("drm: get rid of DRM_DEBUG_* log calls