2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/drivers/video/omap2/dss
Archit Taneja 8ba85306ba OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode
The scalers of overlays and writeback do not have any constraints on downscale
ratio when operating in memory to memory mode.

This is because in memory to memory mode, we aren't connected to a display which
needs data output at the rate of pixel clock. The scalers can perform as much
downscaling as needed, the rate at which the scaler outputs is adjusted
accordingly.

Relax constraints related to downscaling based on whether the input overlays are
connected to writeback in memory to memory mode. We pass a mem_to_mem boolean
parameter to dispc_ovl_setup() from APPLY. This is currently set to false, this
will later be configured to the correct value based on whether the overlay is
connected to writeback or not. Do the same later for writeback when writeback is
configured.

In the scaling calculation code, we calculate the minimum amount of core clock we
need to achieve the required downscaling. If we are in memory to memory mode, we
set this to a very small value(1 in this case), this value would always be
lesser than the actual DISPC core clock value, and hence the scaling checks
would succeed.

We take care that pixel clock isn't calculated for writeback and the overlays
connected to it when in memory to memory mode. A pixel clock in such cases
doesn't make sense.

Signed-off-by: Archit Taneja <archit@ti.com>
2012-09-26 14:58:49 +03:00
..
apply.c OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode 2012-09-26 14:58:49 +03:00
core.c OMAPDSS: alloc dssdevs dynamically 2012-09-18 16:15:05 +03:00
dispc_coefs.c OMAPDSS: DISPC: Fix FIR coefficients 2012-03-06 14:08:23 +02:00
dispc.c OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode 2012-09-26 14:58:49 +03:00
dispc.h OMAPDSS: Use WB fifo for GFX overlay 2012-09-07 20:02:13 +03:00
display.c OMAPDSS: Create links between managers, outputs and devices 2012-09-26 14:58:33 +03:00
dpi.c OMAPDSS: DPI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:33 +03:00
dsi.c OMAPDSS: DSI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:34 +03:00
dss_features.c OMAPDSS: OVERLAY: Add position and replication as overlay caps 2012-09-26 14:58:49 +03:00
dss_features.h OMAPDSS: APPLY: Add manager set/unset output ops for omap_overlay_manager 2012-09-26 14:58:31 +03:00
dss.c OMAPDSS: Add support for DPI source selection 2012-09-24 16:50:08 +03:00
dss.h OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode 2012-09-26 14:58:49 +03:00
hdmi_panel.c OMAPDSS: HDMI: fix initial HDMI enable 2012-08-22 11:33:32 +03:00
hdmi.c OMAPDSS: HDMI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:36 +03:00
Kconfig OMAPDSS: DSI: make OMAP2_DSS_DSI depend on ARCH_OMAP5 2012-09-24 16:50:10 +03:00
Makefile OMAPDSS: outputs: Create a new entity called outputs 2012-09-26 16:29:10 +05:30
manager-sysfs.c OMAPDSS: MANAGER: Update display sysfs store 2012-09-26 14:58:37 +03:00
manager.c OMAPDSS: Remove old way of setting manager and device links 2012-09-26 14:58:38 +03:00
output.c OMAPDSS: Create links between managers, outputs and devices 2012-09-26 14:58:33 +03:00
overlay-sysfs.c OMAPDSS: split overlay sysfs code 2012-09-07 20:02:10 +03:00
overlay.c OMAPDSS: OVERLAY/MANAGER: Get device via output 2012-09-26 14:58:37 +03:00
rfbi.c OMAPDSS: RFBI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:35 +03:00
sdi.c OMAPDSS: SDI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:35 +03:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: Remove custom hdmi_video_timings struct 2012-06-29 10:15:53 +03:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: Add an audio configuration function 2012-05-11 15:17:08 +03:00
ti_hdmi.h OMAPDSS: HDMI: Remove custom hdmi_video_timings struct 2012-06-29 10:15:53 +03:00
venc_panel.c OMAPDSS: VENC: Maintian copy of video output polarity info in private data 2012-08-16 18:47:52 +05:30
venc.c OMAPDSS: VENC: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:36 +03:00