Skip to content
Snippets Groups Projects
  1. Jul 27, 2023
  2. Jul 21, 2023
  3. Apr 11, 2023
  4. Apr 03, 2023
    • Kamal Agrawal's avatar
      msm: kgsl: Check user generated timestamp before queuing drawobjs · baf63b3e
      Kamal Agrawal authored
      
      In ioctls like kgsl_ioctl_submit_commands(), if both syncobj
      type and cmd/marker/sparseobj type are submitted, the syncobj
      is queued first followed by the other obj type. After syncobj
      is successfully queued, in case of failure in get_timestamp
      while queuing the other obj, both the command objs are
      destroyed. As sync obj is already queued, accessing this
      later would cause a crash.
      
      Compare the user generated timestamp with the drawctxt
      timestamp and return early in case of error. This avoids
      unnecessary queuing of drawobjs.
      
      Change-Id: Iedebd480bc18cd74d2f69d24a9dc1032fab01cdb
      Signed-off-by: default avatarKamal Agrawal <quic_kamaagra@quicinc.com>
  5. Mar 31, 2023
  6. Mar 13, 2023
    • Puranam V G Tejaswi's avatar
      msm: kgsl: Use dma_buf_get() to get dma_buf structure · bccac9a3
      Puranam V G Tejaswi authored
      
      Currently we don't ensure if vma->vm_file is associated with dma_buf. This
      can cause issues later when private_data from a non dma_buf file is used as
      dma_buf structure. Hence get the fd that is associated with vma->vm_file
      and use dma_buf_get() to get pointer to dma_buf structure. dma_buf_get()
      ensures that the file from the input fd is associated with dma_buf.
      
      Change-Id: Ib78aef8b16bedca5ca86d3a132278ff9f07dce73
      Signed-off-by: default avatarPuranam V G Tejaswi <quic_pvgtejas@quicinc.com>
      bccac9a3
  7. Jan 25, 2023
  8. Jan 17, 2023
  9. Jan 11, 2023
  10. Jan 09, 2023
  11. Jan 06, 2023
  12. Jan 05, 2023
  13. Jan 04, 2023
  14. Oct 07, 2021
  15. Sep 29, 2021
  16. Sep 28, 2021
Loading