media: saa7146: drop overlay support
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 2 Mar 2023 12:57:23 +0000 (13:57 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 19 Mar 2023 23:27:04 +0000 (00:27 +0100)
commit7777694f80669cb2cdb467fc0fadf3376fbf836d
treec5e519b2dd3625fb22d8b2e0924f4071cadec16b
parentd75d29eb3596cc566b08e21d1c194d6ee737be1d
media: saa7146: drop overlay support

Destructive overlay support (i.e. where the video frame is DMA-ed
straight into a framebuffer) is effectively dead. It was a
necessary evil in the early days when computers were not fast enough
to copy SDTV video frames around, but today that's no longer a problem.

It requires access to the framebuffer memory, which is a bad idea and
very hard to do safely. In addition, in drm it is today almost
impossible to get hold of the framebuffer address.

So drop support for this.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/common/saa7146/saa7146_fops.c
drivers/media/common/saa7146/saa7146_hlp.c
drivers/media/common/saa7146/saa7146_video.c
drivers/staging/media/av7110/av7110_v4l.c
include/media/drv-intf/saa7146_vv.h