aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-12-07 22:48:09 +0000
committerMauro Carvalho Chehab <[email protected]>2019-12-13 10:22:10 +0000
commit95c29d46ab2a517e4c26d0a07300edca6768db17 (patch)
tree5ede0da3b7a4d38a76b75f15880e5e21432a904a /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentmedia: cec: CEC 2.0-only bcast messages were ignored (diff)
downloadkernel-95c29d46ab2a517e4c26d0a07300edca6768db17.tar.gz
kernel-95c29d46ab2a517e4c26d0a07300edca6768db17.zip
media: cec: avoid decrementing transmit_queue_sz if it is 0
WARN if transmit_queue_sz is 0 but do not decrement it. The CEC adapter will become unresponsive if it goes below 0 since then it thinks there are 4 billion messages in the queue. Obviously this should not happen, but a driver bug could cause this. Signed-off-by: Hans Verkuil <[email protected]> Cc: <[email protected]> # for v4.12 and up Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions