[PATCH v3 02/20] drm/tegra: Correct idr_alloc() minimum id
Thierry Reding
thierry.reding at gmail.com
Thu Jun 15 12:13:04 UTC 2017
On Thu, Jun 15, 2017 at 02:18:25AM +0300, Dmitry Osipenko wrote:
> The client ID 0 is reserved by the host1x/cdma to mark the timeout timer
> work as already been scheduled and context ID is used as the clients one.
> This fixes spurious CDMA timeouts.
>
> Fixes: bdd2f9cd10eb ("drm/tegra: Don't leak kernel pointer to userspace")
> Signed-off-by: Dmitry Osipenko <digetx at gmail.com>
> Reviewed-by: Mikko Perttunen <mperttunen at nvidia.com>
> ---
> drivers/gpu/drm/tegra/drm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to drm-misc-fixes, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170615/2efe2582/attachment.sig>
More information about the dri-devel
mailing list