summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_bufs.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-07-28 20:18:36 +0200
committerDave Airlie <airlied@redhat.com>2014-07-30 11:08:24 +1000
commit8bed5cc765ffdd61b59f8405d38b377f5a7f0920 (patch)
tree591a46504c7493df08ceb88c94b85e8e8765b900 /drivers/gpu/drm/drm_bufs.c
parente05444be705b5c7c7f85d7722b6f97f3a6732d54 (diff)
drm/rcar-du: Fix maximum frame buffer pitch computation
The maximum pitch constraint for the hardware is expressed in pixels. Convert it to bytes to validate frame buffer creation, as frame buffer pitches are expressed in bytes. Reported-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_bufs.c')
0 files changed, 0 insertions, 0 deletions