diff options
author | Tomi Valkeinen <[email protected]> | 2019-09-30 13:38:37 +0300 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2019-10-04 11:30:28 +0300 |
commit | f5b1fae153d9d9b719cc390eb3fb490996a09d2d (patch) | |
tree | 839ef8457e4e7f71ff9a3c9d4b1ec44ac89ba2f2 /lib/mpi/mpi-pow.c | |
parent | 157d8f60363a7c5767fdda81fea946b44945454f (diff) |
drm/omap: fix missing scaler pixel fmt limitations
OMAP2 and OMAP3/AM4 have limitations with the scaler:
- OMAP2 can only scale XRGB8888
- OMAP3/AM4 can only scale XRGB8888, RGB565, YUYV and UYVY
The driver doesn't check these limitations, which leads to sync-lost
floods.
This patch adds a check for the pixel formats when scaling.
Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions