]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omapdrm: dispc: Refuse x-decimation above 4 for all but 8-bit formats
authorJyri Sarha <jsarha@ti.com>
Wed, 8 Feb 2017 14:08:06 +0000 (16:08 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 Feb 2017 12:11:08 +0000 (14:11 +0200)
commit716d72d2e23146ae77f03a96e15f78b4c3fb583b
treebd084ce1b08ce56cd1d70b90108e5e8cbeb56c93
parentc0574304670fcf481ad24e37c02f696b0c0d9f73
drm/omapdrm: dispc: Refuse x-decimation above 4 for all but 8-bit formats

Let's disable all scaling that requires horizontal decimation with
higher factor than 4, until we have better estimates of what we can
and can not do. However, NV12 color format appears to work Ok with
all decimation factors.

When decimating horizontally by more that 4 the dss is not able to
fetch the data in burst mode. When this happens it is hard to tell if
there enough bandwidth. Despite what theory says this appears to be
true also for 16-bit color formats.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dispc.c