28 Dec, 2018

1 commit


26 Jul, 2016

1 commit


10 Dec, 2015

2 commits


21 Oct, 2015

2 commits


18 Sep, 2015

1 commit


17 Sep, 2015

1 commit


12 Sep, 2015

1 commit


07 Jul, 2015

1 commit


01 Jul, 2015

4 commits


25 Jun, 2015

1 commit

  • Reconfigure and restart audio when display is enabled, if audio
    playback was active before. The audio configuration is stored when is
    is successfully applied and a boolean is set when playback has started
    and unset when stopped. This data is used to reconfigure the audio
    when display is re-enabled. Abort audio playback if reconfiguration
    fails.

    Signed-off-by: Jyri Sarha

    Jyri Sarha
     

24 Jun, 2015

19 commits

  • This is required because on TI SoC, the IVA_HD can consume as many as
    32 buffers for some H.264 streams. And each buffer can contain plane/field
    data as Y-top, Y-bottom, UV-top and UV-bottom. Each field will be treated
    as a separate FRAME.

    Change-Id: Ibc004ad6f5c7c92a13cd060a7242a8edaa6b55e3
    Signed-off-by: Somnath Mukherjee
    Signed-off-by: Nikhil Devshatwar

    Somnath Mukherjee
     
  • verify_planes would fail if the user space fills up the data_offset field
    and bytesused is left as zero. Correct this.
    When comparing data_offset > bytesused, bypass the check if the
    bytesused field is set to zero.

    Change-Id: I4c63bc03f6d455ce00a56d63df08c624579bc831
    Signed-off-by: Nikhil Devshatwar

    Nikhil Devshatwar
     
  • Add crop ioctl ops. For VPE, cropping only makes sense with the input to VPE, or
    the V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE buffer type.

    For the CAPTURE type, a S_CROP ioctl results in setting the crop region as the
    whole image itself, hence making crop dimensions same as the pix dimensions.

    Setting the crop successfully should result in re-configuration of those
    registers which are affected when either source or destination dimensions
    change, set_srcdst_params() is called for thist purpose.

    Some standard crop parameter checks are done in __vpe_try_crop().

    Change-Id: I9329dee27db526bde54000552b1184e8f061244f
    Signed-off-by: Archit Taneja
    Signed-off-by: Nikhil Devshatwar

    Archit Taneja
     
  • Signed-off-by: Hongmei Gou

    Hongmei Gou
     
  • Add coprocessor nodes for IVAHD.
    Set initial OPP to OPP_HIGH.

    This patch is recreated from omap kernel tree from commmit ID 8c9f3bbbf9ffc294ca0e19a90963c295f55452d9

    Signed-off-by: Hongmei Gou

    Hongmei Gou
     
  • All the coprocessors may not be used in all the
    system usecase scenarios, so we need a driver that can
    initialize the coprocessors based on the current system usecase.

    In a scenario where the user knows ahead what's the target OPP
    for a usecase and which doesnt change during runtime, using devfreq
    would be an overkill.

    Introduce a simple driver to configure the initial Operating
    frequency an dvoltage (OPP) for co processors in a SoC.

    TI co-processor driver makes use of voltage domain manager
    for handling the clock frequency changes and corresponding voltage
    handling thus it can still work seamlessly in a ganged rail scenario
    where the voltage rails of more than one coprocssor are ganged up.

    Change-Id: If8c4afba833cf972e080f81c9e02f3126703b96c
    Signed-off-by: Ravikumar Kattekola

    Ravikumar Kattekola
     
  • Adding GPU entry in device tree listing. This is mimicing the change
    in dra7-evm.dts.

    May need to revisit this if the GPU entry is moved to a common place.

    Signed-off-by: Hongmei Gou

    Hongmei Gou
     
  • ti,set-rate-parent allows rate change to propagate to one level up.
    Adding this property to gpu clk mux's.

    Change-Id: I4fc77426ea0a0d22674ffe1dbf1670208917f354
    Signed-off-by: Gowtham Tammana

    Gowtham Tammana
     
  • mmap requires O_RDWR to be set if MAP_SHARED is requested
    with PROT_WRITE. Adding DRM_RDWR (defined as O_RDWR) as a
    valid flag that can be passed to drm_prime_handle_to_fd_ioctl
    for buffers that need required mapping.

    Change-Id: If130b484efc917aa56562c4edb715b2a07687ce4
    Signed-off-by: Hemant Hariyani

    Hemant Hariyani
     
  • omapdrm plugin patch automatically tries to load the SGX (omapdrm_pvr) kernel
    module as part of dev_open. The name of SGX kernel module in Android is
    pvrsrvkm.

    This patch removes the auto-load of omapdrm_pvr kernel module to ensure common
    code base across Linux and Android.

    Change-Id: I03d7e92b9e6f9addd41e83614e8878d8cfc244b7
    Signed-off-by: Anand Balagopalakrishnan

    Anand Balagopalakrishnan
     
  • This work is based on Rob Clark's patch :
    http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commit;h=6a42bc1660b06464f9da796604ecd4934bb31acd
    WIP: drm/omap: V2: add plugin API
    from the GLP kernel tree available at
    http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=summary

    Omapdrm is fixed so that it can accept plugins.
    Plugin add functions like load/unload etc are added in omap_drv.c
    In omap_gem.c GEM object mapping functions has been added

    This patch is required for gfx driver to be built as a drm plugin

    Subhajit : k3.12: removed const from ioctls table
    Anand : k3.14 : rebased with LCPD baseline

    Signed-off-by: Rob Clark
    Signed-off-by: Subhajit Paul
    Signed-off-by: Anand Balagopalakrishnan

    Conflicts:

    drivers/gpu/drm/omapdrm/omap_drv.c
    drivers/gpu/drm/omapdrm/omap_drv.h

    Change-Id: I72133ad08ddd4682320fa2e7f5f4dd017ee92dae
    Signed-off-by: Anand Balagopalakrishnan

    Rob Clark
     
  • Add support for render nodes in omap driver and allow required
    ioctls to be accessible via render nodes.

    Change-Id: Ia7b69f797d72b85442eb34401ead71d79297cc3d
    Signed-off-by: Hemant Hariyani

    Hemant Hariyani
     
  • GPU hwmod data for DRA7xx

    Change-Id: I0a7a3fc85f664a404a3510d64ef8891414b2fd98
    Signed-off-by: Hemant Hariyani
    Signed-off-by: Gowtham Tammana

    Hemant Hariyani
     
  • Adding GPU entry in device tree listing.

    Change-Id: I01bac9517438cc1b88219b7872a7afa7fe7d0a53
    Signed-off-by: Gowtham Tammana

    Gowtham Tammana
     
  • Karthik R Sankar
     
  • Previously, delta filtering was applied TSC co-ordinate readouts before
    reporting a single value to user space. This patch replaces delta filtering
    with median filtering. Median filtering sorts co-ordinate readouts, drops
    min and max values, and reports the average of remaining values. This
    method is more sensible than delta filtering. Median filtering is applied
    only if number of readouts is greater than 3 else just average of
    co-ordinate readouts is reported.

    Signed-off-by: Vignesh R
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Franklin S Cooper Jr

    Vignesh R
     
  • TI 3.14 Patch e823ec6f7b5555c65b2b89742fcd705014e8e467 was an early version of
    mainline patch 344d635b9a41b19837ccf8083a99ea688027019c.

    Backport the differences between these patches.

    Signed-off-by: Franklin S Cooper Jr

    Franklin S. Cooper Jr
     
  • This reverts commit e655e2f723a4e78a47868f766e4c141deca5e234.

    This patch is no longer necessary due to backported patches from mainline
    providing a better solution that solves this issue.

    Also reverting this helps keep the driver in sync with mainline for future
    patches.

    Signed-off-by: Franklin S Cooper Jr

    Franklin S. Cooper Jr
     
  • * For AM335x, PG 2.0 silicon was a very short lived revision mainly used
    for internal board development and Beaglebone Black.
    * For versions of the Beaglebone Black that were sold the 2.0 silicon used
    was binned to insure that they supported 1 GHz.
    * Therefore, enable 1 GHz since the only real users of 1 GHz on 2.0 silicon
    are 1 GHz users.

    Signed-off-by: Franklin S. Cooper Jr

    Franklin S. Cooper Jr
     

17 Jun, 2015

3 commits

  • …ux-kernel/audio-display-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: audio-display
    TI-Tree: git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree.git
    TI-Branch: audio-display-ti-linux-3.14.y

    * 'audio-display-ti-linux-3.14.y' of git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree:
    OMAPDSS: HDMI: Do not abort audio playback when display is turned off

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
    ARM: dts: am437x-sk-evm: Reduce i2c0 bus speed for tps65218

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Based on the latest timing specifications for the TPS65218 from the data
    sheet, http://www.ti.com/lit/ds/symlink/tps65218.pdf, document SLDS206
    from November 2014, we must change the i2c bus speed to better fit within
    the minimum high SCL time required for proper i2c transfer.

    When running at 400khz, measurements show that SCL spends
    0.8125 uS/1.666 uS high/low which violates the requirement for minimum
    high period of SCL provided in datasheet Table 7.6 which is 1 uS.
    Switching to 100khz gives us 5 uS/5 uS high/low which both fall above
    the minimum given values for 100 khz, 4.0 uS/4.7 uS high/low.

    Without this patch occasionally a voltage set operation from the kernel
    will appear to have worked but the actual voltage reflected on the PMIC
    will not have updated, causing problems especially with cpufreq that may
    update to a higher OPP without actually raising the voltage on DCDC2,
    leading to a hang.

    Based on debug effort by Nishanth Menon, Felipe Balbi, Aparna
    Balasubramanian, Franklin Cooper, and Dave Gerlach.

    Signed-off-by: Dave Gerlach

    Dave Gerlach
     

16 Jun, 2015

3 commits

  • Do not abort audio playback when display is turned off. The audio DMA
    stops when the display turned off and the audio stream will timeout in
    couple of seconds unless the display is enabled again in time. Without
    this patch the audio playback is aborted immediately when display is
    turned off.

    Signed-off-by: Jyri Sarha

    Jyri Sarha
     
  • …egration-tree/connectivity-ti-linux-kernel into ti-linux-3.14.y

    TI-Feature: connectivity
    TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
    TI-Branch: connectivity-ti-linux-3.14.y

    * 'connectivity-ti-linux-3.14.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
    ARM: DRA7: GMAC: Apply Errata i877
    ARM: OMAP2+: GMAC: Fix clock domain flags
    ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property

    Signed-off-by: Dan Murphy <dmurphy@ti.com>

    Dan Murphy
     
  • Errata ID: i877

    Description:
    The RGMII Transmit timing is based on the output clock (rgmiin_txc) being
    driven relative to the rising edge of an internal clock and the output
    control/data (rgmiin_txctl/txd) being driven relative to the falling edge
    of an internal clock source. If the internal clock source is allowed to be
    static low (i.e., disabled) for an extended period of time then when the
    clock is actually enabled the timing delta between the rising edge and
    falling edge can change over the lifetime of the device. This can result
    in the device switching characteristics degrading over time, and
    eventually failing to meet the Data Manual Delay Time/Skew specs.
    To maintain RGMII IO Timings, SW should minimize the duration that the
    Ethernet internal clock source is disabled. Note that the device reset
    state for the Ethernet clock is "disabled".

    Workaround:
    If the SoC Ethernet interface(s) are used in RGMII mode, SW should minimize
    the time the Ethernet internal clock source is disabled to a maximum of
    200 hours in a device life cycle. This is done by enabling the clock as
    early as possible in IPL (QNX) or SPL/u-boot (Linux/Android) by setting
    the register CM_GMAC_CLKSTCTRL[1:0]CLKTRCTRL = 0x2:SW_WKUP.
    In addition to programming SW_WKUP(0x2) on CM_GMAC_CLKSTCTRL, SW should
    also program modulemode field as ENABLED(0x2) on CM_GMAC_GMAC_CLKCTRL
    register.

    Note that this erratum applies only when device may need to be used
    for 1Gbit operation.
    Since the POR is to use 1GB mode, enabling this errata by hooking
    ti,no-idle flag to gmac node.

    Acked-by: Roger Quadros
    Tested-by: Mugunthan V N
    Signed-off-by: Lokesh Vutla
    Signed-off-by: Sekhar Nori

    Lokesh Vutla