1. 29 1月, 2012 3 次提交
  2. 26 1月, 2012 7 次提交
  3. 13 1月, 2012 1 次提交
  4. 12 1月, 2012 1 次提交
  5. 08 1月, 2012 1 次提交
  6. 05 1月, 2012 8 次提交
  7. 04 1月, 2012 7 次提交
  8. 03 1月, 2012 5 次提交
  9. 02 1月, 2012 7 次提交
    • C
      OMAPDSS: DISPC: Update Scaling Clock Logic · 7282f1b7
      Chandrabhanu Mahapatra 提交于
      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: NChandrabhanu Mahapatra <cmahapatra@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      7282f1b7
    • C
      OMAPDSS: DISPC: Update Fir Coefficients · debd9074
      Chandrabhanu Mahapatra 提交于
      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: NChandrabhanu Mahapatra <cmahapatra@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      debd9074
    • R
      OMAPDSS: APPLY: fix NULL pointer deref when mgr is not set · 1f3f53ae
      Rob Clark 提交于
      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: NRob Clark <rob@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      1f3f53ae
    • A
      OMAPDSS: Displays: Make PICODLP driver depend on DPI · 6ea9b317
      Archit Taneja 提交于
      Make PICODLP driver on OMAP2_DSS_DPI since it is the display interface it uses.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      6ea9b317
    • A
      OMAPDSS: Panel NEC: Set omap_dss_device states correctly · d95c03f3
      Archit Taneja 提交于
      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: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      d95c03f3
    • A
      OMAPDSS: DSI: Fix HSDIV related PLL info in dsi_dump_clocks() · 84309f16
      Archit Taneja 提交于
      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: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      84309f16
    • T
      OMAPDSS: APPLY: move simple_check functions · 54540d41
      Tomi Valkeinen 提交于
      The functions dss_ovl_simple_check() and dss_mgr_simple_check() are not
      really part of the apply mechanism, and can be moved to overlay.c and
      manager.c.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      54540d41