]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: relax submit size limits
authorLucas Stach <l.stach@pengutronix.de>
Thu, 6 Jan 2022 18:10:21 +0000 (19:10 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 25 Jan 2022 18:03:11 +0000 (19:03 +0100)
commit9947860ac5320a6295a19700d50118a9e49d329e
tree56cb67baf30908e0cec7ee0ed8e74606211897bf
parent6e424e6bafec35e47db4b693fe41eff065b7dbf6
drm/etnaviv: relax submit size limits

While all userspace tried to limit commandstreams to 64K in size,
a bug in the Mesa driver lead to command streams of up to 128K
being submitted. Allow those to avoid breaking existing userspace.

Fixes: 04db1593405d ("drm/etnaviv: limit submit sizes")
Cc: stable@vger.kernel.org
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c