diff options
author | 2021-12-02 10:51:12 +0100 | |
---|---|---|
committer | 2022-01-14 14:31:54 +0100 | |
commit | bd672b7559efcd3ae3faf0b0e3846e30983e8ace (patch) | |
tree | d4b4ea4f83579f00ec22b344c22f2521dabc501b /lib/test_overflow.c | |
parent | drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode (diff) | |
download | linux-dev-bd672b7559efcd3ae3faf0b0e3846e30983e8ace.tar.xz linux-dev-bd672b7559efcd3ae3faf0b0e3846e30983e8ace.zip |
drm: fix error found in some cases after the patch d1af5cd86997
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 <oliver.sang@intel.com>
Fixes: 6e22dc358377 ("drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c")
Signed-off-by: Claudio Suarez <cssk@net-c.es>
[danvet: fix Fixes: line]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/YaiXEARd8z2C463h@gineta.localdomain
(cherry picked from commit 521d459b1935628a7caa0753429f880dae2dbfc9)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions