Re: [PATCH v2] drm: omapdrm: Improve check for contiguous buffers

2022-09-09 Thread Tomi Valkeinen
On 25/08/2022 19:26, Andrew Davis wrote: While a scatter-gather table having only 1 entry does imply it is contiguous, it is a logic error to assume the inverse. Tables can have more than 1 entry and still be contiguous. Use a proper check here. Signed-off-by: Andrew Davis --- Changes from v1:

[PATCH v2] drm: omapdrm: Improve check for contiguous buffers

2022-08-25 Thread Andrew Davis
While a scatter-gather table having only 1 entry does imply it is contiguous, it is a logic error to assume the inverse. Tables can have more than 1 entry and still be contiguous. Use a proper check here. Signed-off-by: Andrew Davis --- Changes from v1: - Sent correct version of patch :) driv