diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-03-26 20:01:13 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-12-19 11:24:54 +0200 |
commit | 6941e3d12b3284ea5b8d32b7023221700cad5f49 (patch) | |
tree | f4e588273e60073b1b4651cd1b5b8dc422f007d6 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | a39c94e8138f4708b92245a7021ad4d40376360f (diff) | |
download | talos-obmc-linux-6941e3d12b3284ea5b8d32b7023221700cad5f49.tar.gz talos-obmc-linux-6941e3d12b3284ea5b8d32b7023221700cad5f49.zip |
drm: omapdrm: fb: Simplify mode command checks when creating framebuffer
The hardware requires all planes to have an identical pitch in number of
pixels. Given that all supported formats use the same number of bytes
per pixel in all planes, framebuffer creation checks can be simplified.
The implementations assumes that no format use more than two planes
which is true with the existing hardware.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions