24 May, 2011

2 commits


23 May, 2011

4 commits

  • Since the NV24 framebuffer has a CbCr plane that is twice as wide
    as the Y plane, it needs to be handled as a special case.

    Signed-off-by: Damian Hobson-Garcia
    Signed-off-by: Paul Mundt

    Damian
     
  • Based on the patch by Takanari Hayama

    Adds support framework necessary to use Media RAM (MERAM)
    caching functionality with the LCDC. The MERAM is accessed
    through up to 4 Interconnect Buffers (ICBs).

    ICB numbers and MERAM address ranges to use are specified in
    by filling in the .meram_cfg member of the LCDC platform data

    Signed-off-by: Damian Hobson-Garcia
    Signed-off-by: Paul Mundt

    Damian
     
  • Add the support for NV12 color format.
    Configure base address for UV component of NV12 color format.
    Change the way chroma scaling is handled for YUV formats on OMAP4 by enabling
    chroma-resampling for video pipeline and hence using FIR2 register set for
    scaling UV.
    Changes to _dispc_set_scaling(), because of the reason above, are:
    - call _dispc_set_scaling_common() to handle scaling for all color formats
    except for OMAP4 where it only handles scaling for RGB or Y-component
    - call _dispc_set_scaling_uv() for special handling required for UV
    component on OMAP4.
    - dispc_set_scaling_uv() also resets chroma-resampling bit for RGB color modes.

    Contains chroma scaling (_dispc_set_scaling_uv) design and implemented by
    Lajos Molnar

    Signed-off-by: Amber Jain
    Signed-off-by: Tomi Valkeinen

    Amber Jain
     
  • Add new color formats supported by OMAP4: NV12, RGBA16, RGBX16,
    ARGB16_1555, XRGB16_1555.
    NV12 color format is defined here, its support in DSS will be added separately.

    Signed-off-by: Amber Jain
    Signed-off-by: Tomi Valkeinen

    Amber Jain
     

16 May, 2011

1 commit

  • On OMAP3, the DSI module has 2 data lanes. On OMAP4, DSI1 has 4 data lanes
    and DSI2 has 2 data lanes. Introduce function dsi_get_num_data_lanes() which
    returns the number of data lanes on the dsi interface, introduce function
    dsi_get_num_data_lanes_dssdev() which returns the number of data lanes used by
    the omap_dss_device connected to the lanes.

    Use the DSI_GNQ register on OMAP4 to get the number of data lanes, modify
    dsi.c to use the number of lanes and the extra data lanes on DSI1.

    Signed-off-by: Archit Taneja
    Signed-off-by: Tomi Valkeinen

    Archit Taneja
     

13 May, 2011

5 commits

  • Add omap_rfbi_configure() which the panel driver can use to reconfigure
    the data element size and the number of data lines in the RFBI bus.

    Signed-off-by: Tomi Valkeinen

    Tomi Valkeinen
     
  • Add similar bus lock to RFBI as is in DSI. The panel driver can use the
    bus lock to mark that the RFBI bus is currently in use.

    Signed-off-by: Tomi Valkeinen

    Tomi Valkeinen
     
  • Introduce DSI2 PLL clock sources needed by LCD2 channel and DSI2 Protocol
    engine and DISPC Functional clock. Do the following:

    - Modify dss_get_dsi_clk_source() and dss_select_dsi_clk_source() to take the
    dsi module number as an argument.
    - Create debugfs files for dsi2, split the corresponding debugfs functions.
    - Allow DPI to use these new clock sources.

    Signed-off-by: Archit Taneja
    Signed-off-by: Tomi Valkeinen

    Archit Taneja
     
  • The DSI interface is represented as a platform device, using the DSI platform
    driver(dsi.c). The current DSI driver design is capable of running only one
    instance of a DSI device. On OMAP4, there are 2 very similar DSI modules which
    can be represented as instances of "omapdss_dsi" platform device.

    Add member "module" in "dssdev.phy.dsi" that tells us which DSI module's lanes
    the panel is connected to. Modify dsi.c functions to take the device's
    platform_device struct pointer, provide functions dsi_get_dsidev_from_dssdev()
    and dsi_get_dsidev_from_id() take the panel's omap_dss_device and module number
    respectively, and return the platform_device pointer. Currently, the dsi struct
    is declared globally and is accessed when dsi data is needed. The new pdev
    argument will be used later to provide the platform device's dsi related data.

    Signed-off-by: Archit Taneja
    Signed-off-by: Tomi Valkeinen

    Archit Taneja
     
  • Add pointer to omap_dss_device struct as an argument in the functions which
    are exported to dsi panel drivers. This argument will tell the DSI driver
    which DSI interface's data it has to choose.

    Signed-off-by: Archit Taneja
    Signed-off-by: Tomi Valkeinen

    Archit Taneja
     

11 May, 2011

14 commits


26 Apr, 2011

1 commit


06 Apr, 2011

1 commit


31 Mar, 2011

1 commit


22 Mar, 2011

1 commit


16 Mar, 2011

1 commit

  • Supports YCbCr420sp, YCbCr422sp, and YCbCr44sp, formats
    (bpp = 12, 16, and 24) respectively.

    When double-buffering both Y planes appear before the C planes (Y-Y-C-C),
    as opposed to Y-C-Y-C.

    Set .nonstd in struct sh_mobile_lcdc_chan_cfg to enable YUV mode, and use
    .bpp to distiguish between the 3 modes.
    The value of .nonstd is copied to bits 16-31 of LDDFR in the LCDC and
    should be set accordingly.
    .nonstd must be set to 0 for RGB mode.

    Due to the encoding of YUV data, the framebuffer will clear to green
    instead of black.

    In YUV 420 mode, panning is only possible in 2 line increments.
    Additionally in YUV 420 mode the vertical resolution of the framebuffer
    must be an even number.

    Signed-off-by: Damian Hobson-Garcia
    Signed-off-by: Paul Mundt

    Damian Hobson-Garcia
     

10 Mar, 2011

1 commit


06 Jan, 2011

3 commits


05 Jan, 2011

2 commits



21 Dec, 2010

1 commit


16 Nov, 2010

1 commit

  • udlfb has undergone a fair bit of cleanup recently and is effectively at
    the point where it can be liberated from staging purgatory and promoted
    to a real driver.

    The outstanding cleanups are all minor, with some of them dependent on
    drivers/video headers, so these will be done incrementally from udlfb's
    new home.

    Requested-by: Bernie Thompson
    Signed-off-by: Paul Mundt

    Paul Mundt