diff options
author | 2017-11-10 12:08:13 -0500 | |
---|---|---|
committer | 2017-12-14 10:52:06 -0500 | |
commit | 34996173c88ca69f276eb2979586016fbbaa34ca (patch) | |
tree | c262fad17723c2a8be75fb77c0a28dd7f3df2dc2 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | |
parent | drm/amd/display: Remove plane_res.mi check in dce110_apply_ctx_for_surface (diff) | |
download | wireguard-linux-34996173c88ca69f276eb2979586016fbbaa34ca.tar.xz wireguard-linux-34996173c88ca69f276eb2979586016fbbaa34ca.zip |
drm/amd/display: Remove redundant checks in set_default_colors
pipe_ctx->stream and pipe_ctx->plane_state are never NULL
Found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2111
set_default_colors() error: we previously assumed 'pipe_ctx->stream'
could be null (see line 2101)
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h')
0 files changed, 0 insertions, 0 deletions