1. 30 1月, 2021 2 次提交
    • M
      drm/vc4: hvs: Fix buffer overflow with the dlist handling · e3fbd019
      Maxime Ripard 提交于
      Commit 0a038c1c ("drm/vc4: Move LBM creation out of
      vc4_plane_mode_set()") changed the LBM allocation logic from first
      allocating the LBM memory for the plane to running mode_set,
      adding a gap in the LBM, and then running the dlist allocation filling
      that gap.
      
      The gap was introduced by incrementing the dlist array index, but was
      never checking whether or not we were over the array length, leading
      eventually to memory corruptions if we ever crossed this limit.
      
      vc4_dlist_write had that logic though, and was reallocating a larger
      dlist array when reaching the end of the buffer. Let's share the logic
      between both functions.
      
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Eric Anholt <eric@anholt.net>
      Fixes: 0a038c1c ("drm/vc4: Move LBM creation out of vc4_plane_mode_set()")
      Signed-off-by: NMaxime Ripard <maxime@cerno.tech>
      e3fbd019
    • P
      kbuild: Silence unavoidable dtc overlay warnings · 7a146dcb
      Phil Elwell 提交于
      Much effort has been put into finding ways to avoid warnings from dtc
      about overlays, usually to do with the presence of #address-cells and
      size-cells, but not exclusively so. Since the issues being warned about
      are harmless, suppress the warnings to declutter the build output and
      to avoid alarming users.
      Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
      7a146dcb
  2. 20 1月, 2021 2 次提交
  3. 14 1月, 2021 1 次提交
  4. 08 1月, 2021 2 次提交
  5. 03 1月, 2021 2 次提交
  6. 31 12月, 2020 2 次提交
  7. 29 12月, 2020 1 次提交
    • P
      media: i2c: ov5647: Selection compliance fixes · 40cc64a9
      Paul Elder 提交于
      To comply with the intended usage of the V4L2 selection target when
      used to retrieve a sensor image properties, adjust the rectangles
      returned by the ov5647 driver.
      
      The top/left crop coordinates of the TGT_CROP rectangle were set to
      (0, 0) instead of (16, 16) which is the offset from the larger physical
      pixel array rectangle. This was also a mismatch with the default values
      crop rectangle value, so this is corrected. Found with v4l2-compliance.
      
      While at it, add V4L2_SEL_TGT_CROP_BOUNDS support: CROP_DEFAULT and
      CROP_BOUNDS have the same size as the non-active pixels are not readable
      using the selection API. Found with v4l2-compliance.
      Signed-off-by: NPaul Elder <paul.elder@ideasonboard.com>
      40cc64a9
  8. 16 12月, 2020 3 次提交
  9. 14 12月, 2020 1 次提交
  10. 11 12月, 2020 24 次提交