[PATCH v4 00/17] drm: add gem ttm helpers, rework mmap workflow.

Gerd Hoffmann kraxel at redhat.com
Tue Aug 27 05:13:41 UTC 2019


  Hi,

> Also this patch series also adjust vram helpers, and I think it has a
> slightly different goal: Just aligning mmap paths a bit more between
> ttm and not-ttm based drivers.

Not just ttm/not-ttm.  gem_driver->fops->mmap is the only fops callback
where we can't use a generic gem callback today.  This series tries to
fix that with the new drm_gem_object_funcs->mmap hook, so the mmap()
code path isn't the odd one which works different than every other
drm_gem_object operation.

> Seems like a good goal, details might need adjustment.

Which details?

cheers,
  Gerd



More information about the dri-devel mailing list