drm/amd/amdgpu: Check stream in amdgpu_dm_commit_planes
authorErnst Sjöstrand <ernstp@gmail.com>
Mon, 24 Jun 2019 15:15:42 +0000 (17:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:23:43 +0000 (13:23 -0500)
commited9656fbc8b5b13a2350d9a7eb70f1b8d55e5803
treef51e37f39043dfa1957b380901dcca63dfc7b5c0
parent70c5350a878d945a2f6a947817260b8d373b7680
drm/amd/amdgpu: Check stream in amdgpu_dm_commit_planes

Reported by smatch:
amdgpu_dm.c:5637 amdgpu_dm_commit_planes() error: we previously assumed 'acrtc_state->stream' could be null
This seems to be checked for null pretty consistently elsewhere.

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c