video: adf: add buffer padding quirk
authorGreg Hackmann <ghackmann@google.com>
Tue, 8 Apr 2014 19:36:41 +0000 (12:36 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:20 +0000 (13:53 -0800)
commit69094222cfbaf340c919bd8ce89cd2ba909bdea9
tree8d79552a1f675a9fd89815f53c55af9e4b02dedc
parent25b8f56daa45b1008e4abe78ad136cf379aada9e
video: adf: add buffer padding quirk

Quirks specify common behaviors that vary slightly among devices, and
which ADF must account for.

The buffer padding quirk captures the way different devices fetch the
last scanline in a buffer: some devices fetch an entire line (including
padding to the pitch) while others only fetch up to the visible width.
ADF's buffer size validation now takes this quirk into account.

Change-Id: I828b13316e27621d8a9efd9d5fffa6ce12a525ff
Signed-off-by: Greg Hackmann <ghackmann@google.com>
drivers/video/adf/adf.c
include/video/adf.h