Re: [PATCH 3/7] drm/mipi-dbi: Use framebuffer dma-buf helpers

2021-07-20 Thread Thomas Zimmermann
Hi Am 20.07.21 um 16:03 schrieb Daniel Vetter: On Fri, Jul 16, 2021 at 04:07:57PM +0200, Thomas Zimmermann wrote: Replace dma_buf_begin_cpu_access() with drm_gem_fb_begin_cpu_access(); same for _end_cpu_access(). Remove some boiler-plate code. No functional changes. There's one left-over refer

Re: [PATCH 3/7] drm/mipi-dbi: Use framebuffer dma-buf helpers

2021-07-20 Thread Daniel Vetter
On Fri, Jul 16, 2021 at 04:07:57PM +0200, Thomas Zimmermann wrote: > Replace dma_buf_begin_cpu_access() with drm_gem_fb_begin_cpu_access(); > same for _end_cpu_access(). Remove some boiler-plate code. No functional > changes. > > There's one left-over reference to the imported attachment that we >

[PATCH 3/7] drm/mipi-dbi: Use framebuffer dma-buf helpers

2021-07-16 Thread Thomas Zimmermann
Replace dma_buf_begin_cpu_access() with drm_gem_fb_begin_cpu_access(); same for _end_cpu_access(). Remove some boiler-plate code. No functional changes. There's one left-over reference to the imported attachment that we keep. GEM BOs with imported attachment are considered uncached and enables spe