aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2021-07-12 18:12:09 +0000
committerChun-Kuang Hu <[email protected]>2021-08-09 14:16:56 +0000
commit5b0ef98ed1e227b3e113a095abcaa0a22bb18400 (patch)
treebe51c378694f900250c2ef2ca5e15966e046aa22 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentdrm/mediatek: Add support for main DDP path on MT8167 (diff)
downloadkernel-5b0ef98ed1e227b3e113a095abcaa0a22bb18400.tar.gz
kernel-5b0ef98ed1e227b3e113a095abcaa0a22bb18400.zip
drm/mediatek: Test component initialization earlier in the function mtk_drm_crtc_create
The initialization is currently tested in a later stage in the function for no reason. In addition, the test '!comp' will never fail since comp is set with the '&' operator. Instead, test if a comp was not initialized by testing "!comp->dev". Signed-off-by: Dafna Hirschfeld <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions