[PATCH v2] drm/omapdrm: dispc: Refuse x-decimation above 4 for all but 8-bit formats
Tomi Valkeinen
tomi.valkeinen at ti.com
Thu Feb 16 12:11:41 UTC 2017
On 08/02/17 16:08, Jyri Sarha wrote:
> 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 at ti.com>
> ---
> Chnages since first version:
> - "color_mode_to_bpp(color_mode) > 8" -> "color_mode != OMAP_DSS_COLOR_NV12"
> - commit message and comment updated too
> - improve error print
>
> drivers/gpu/drm/omapdrm/dss/dispc.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
Thanks, I've picked this up.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170216/b808a589/attachment.sig>
More information about the dri-devel
mailing list