1. 29 11月, 2018 5 次提交
  2. 26 11月, 2018 1 次提交
    • L
      drm: rcar-du: Fix DU3 start/stop on M3-N · 0bc3544a
      Laurent Pinchart 提交于
      Group start/stop is controlled by the DRES and DEN bits of DSYSR0 for
      the first group and DSYSR2 for the second group. On most DU instances,
      this maps to the first CRTC of the group. On M3-N, however, DU2 doesn't
      exist, but DSYSR2 does. There is no CRTC object there that maps to the
      correct DSYSR register.
      
      Commit 9144adc5 ("drm: rcar-du: Cache DSYSR value to ensure known
      initial value") switched group start/stop from using group read/write
      access to DSYSR to a CRTC-based API to cache the DSYSR value. While
      doing so, it introduced a regression on M3-N by accessing DSYSR3 instead
      of DSYSR2 to start/stop the second group.
      
      To fix this, access the DSYSR register directly through group read/write
      if the SoC is missing the first DU channel of the group. Keep using the
      rcar_du_crtc_dsysr_clr_set() function otherwise, to retain the DSYSR
      caching feature.
      
      Fixes: 9144adc5 ("drm: rcar-du: Cache DSYSR value to ensure known initial value")
      Reported-by: NHoan Nguyen An <na-hoan@jinso.co.jp>
      Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Acked-by: NKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
      Tested-by: NSimon Horman <horms+renesas@verge.net.au>
      0bc3544a
  3. 22 11月, 2018 4 次提交
  4. 21 11月, 2018 6 次提交
  5. 20 11月, 2018 5 次提交
  6. 19 11月, 2018 2 次提交
  7. 16 11月, 2018 4 次提交
  8. 15 11月, 2018 3 次提交
  9. 14 11月, 2018 2 次提交
  10. 13 11月, 2018 5 次提交
  11. 12 11月, 2018 3 次提交