1. 28 Jan, 2012 4 commits
  2. 26 Jan, 2012 7 commits
  3. 12 Jan, 2012 1 commit
  4. 11 Jan, 2012 1 commit
  5. 08 Jan, 2012 1 commit
  6. 05 Jan, 2012 8 commits
  7. 03 Jan, 2012 12 commits
  8. 02 Jan, 2012 6 commits
    • Chandrabhanu Mahapatra's avatar
      OMAPDSS: DISPC: Update Scaling Clock Logic · 7282f1b7
      Chandrabhanu Mahapatra authored
      Clock requirements for scaling in OMAP2, OMAP3 and OMAP4 are different. In
      OMAP2 and OMAP3 the required clock rate is a function of pixel clock, vertical
      downscale ratio and horizontal downscale ratio whereas in OMAP4 it is a
      function of pixel clock and horizontal downscale ratio only. Selection of 3-tap
      vs 5-tap coefficients depends on clock rate line buffer width in OMAP3 whereas
      in OMAP4 it is independent of clock rate and line buffer width. In OMAP2 3-tap
      for vertical and 5-tap for horizontal scaling is used. In OMAP4 5-tap is used
      both for horizontal and vertical scaling for better performance. Also, the
      number and width of line buffers differs in OMAP3 and OMAP4.
      
      So, clock functions have been fined tuned for OMAP3 and support has been added
      added for OMAP4. This code has been tested on OMAP2, OMAP3 and OMAP4, and
      scaling issues due to clock errors have been resolved.
      Signed-off-by: default avatarChandrabhanu Mahapatra <cmahapatra@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      7282f1b7
    • Chandrabhanu Mahapatra's avatar
      OMAPDSS: DISPC: Update Fir Coefficients · debd9074
      Chandrabhanu Mahapatra authored
      The FIR coefficients present in kernel are being updated to new coefficients
      consisting of 24 coefficient tables, with 12 each for 3 tap and 5 tap scenario,
      which are chosen on the basis of DISPC up/downsampling filters M value. M is
      the inverse of low pass cut off frequency of the sampling filter. For vertical
      scaling 3 tap or 5 tap tables are used based on the clock rate and width of
      the line buffer whereas in OMAP2 3 tap is always used. For horizontal scaling
      however 5 tap tables are always used.
      
      New coefficients and the corresponding logic have been tested on OMAP2, OMAP3
      and OMAP4. Horizontal and vertical scaling worked fine except for some 3 tap
      vs 5 tap issue during vertical upscaling and clock failing issues which is
      acknowledged in the next patch. Vertical upscaling was found to perform better
      under 5 taps. The 24 coefficient tables have been moved to another file
      dispc_coefs.c for proper maintainance.
      
      This code is written based on code written by Lajos Molnar <lajos@ti.com> in
      Android Kernel for scaling. Lajos Molnar <lajos@ti.com> had fine tuned the FIR
      coefficient selection process and reduced outliness and blockiness around
      images when upscaling more than 2 times.
      Signed-off-by: default avatarChandrabhanu Mahapatra <cmahapatra@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      debd9074
    • Rob Clark's avatar
      OMAPDSS: APPLY: fix NULL pointer deref when mgr is not set · 1f3f53ae
      Rob Clark authored
      extra_info_update_ongoing() goes through all overlays, but doesn't check
      if the overlay is connected to a manager. This leads to a crash whenever
      an overlay has been detached.
      
      Add a check to skip the non-connected overlays.
      Reported-by: default avatarRob Clark <rob@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      1f3f53ae
    • Archit Taneja's avatar
      OMAPDSS: Displays: Make PICODLP driver depend on DPI · 6ea9b317
      Archit Taneja authored
      Make PICODLP driver on OMAP2_DSS_DPI since it is the display interface it uses.
      Signed-off-by: default avatarArchit Taneja <archit@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      6ea9b317
    • Archit Taneja's avatar
      OMAPDSS: Panel NEC: Set omap_dss_device states correctly · d95c03f3
      Archit Taneja authored
      The display state parameter of omap_dss_device struct is not being set correctly
      in the panel driver NEC panel driver panel-nec-nl8048hl11-01b.c. Set the correct
      states in the panel's enable/disable/suspend/resume functions.
      
      CC: Erik Gilling <konkers@android.com>
      Signed-off-by: default avatarArchit Taneja <archit@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      d95c03f3
    • Archit Taneja's avatar
      OMAPDSS: DSI: Fix HSDIV related PLL info in dsi_dump_clocks() · 84309f16
      Archit Taneja authored
      The clock names of DSI_PLL_HSDIV_DISPC and DSI_PLL_HSDIV_DSI was made
      dynamic based on the current value of DISPC and DSI FCLK sources. This
      doesn't need to be done since we are just interested in the clock names,
      and not the current clock sources for DISPC and DSI FCLKs.
      
      Use only the generic and omap specific names for the DSI PLL's HSDIV
      clocks.
      Signed-off-by: default avatarArchit Taneja <archit@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      84309f16