[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ecadd993-9202-2212-9451-d1e2f126b4d8@daenzer.net>
Date: Tue, 8 Jan 2019 16:25:45 +0100
From: Michel Dänzer <michel@...nzer.net>
To: Yu Zhao <yuzhao@...gle.com>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Christian König <christian.koenig@....com>,
Alex Deucher <alexander.deucher@....com>
Cc: David Zhou <David1.Zhou@....com>,
Daniel Stone <daniels@...labora.com>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
amd-gfx@...ts.freedesktop.org, Samuel Li <Samuel.Li@....com>,
Junwei Zhang <Jerry.Zhang@....com>, stable@...r.kernel.org,
Harry Wentland <harry.wentland@....com>
Subject: Re: [PATCH v6 1/2] drm/amd: validate user pitch alignment
On 2019-01-07 11:51 p.m., Yu Zhao wrote:
> Userspace may request pitch alignment that is not supported by GPU.
> Some requests 32, but GPU ignores it and uses default 64 when cpp is
> 4. If GEM object is allocated based on the smaller alignment, GPU
> DMA will go out of bound.
>
> Cc: stable@...r.kernel.org # v4.2+
> Signed-off-by: Yu Zhao <yuzhao@...gle.com>
Both patches applied to amd-staging-drm-next (should land in 5.0), thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
Powered by blists - more mailing lists