aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-03-05 17:24:08 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:36:48 +0000
commitb5dcec9c90fdb3287cd465ee8d3fb00d33e1133d (patch)
tree3bbb08db32e454d2b349525fe94f1cfd935676c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/amd/display: Drop atomic_obj_lock for private obj (diff)
downloadkernel-b5dcec9c90fdb3287cd465ee8d3fb00d33e1133d.tar.gz
kernel-b5dcec9c90fdb3287cd465ee8d3fb00d33e1133d.zip
drm/amd/display: Don't ASSERT when total_planes == AMDGPU_MAX_PLANES
[Why] Can happen on ASICs with 6 planes, but this isn't a bug since we haven't written outside the array. [How] Use <= instead of <. Cc: Leo Li <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Reported-by: Michel Dänzer <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Michel Dänzer <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions