[PATCH RFC v4 01/16] drm: Add drm_minor_for_each
Tejun Heo
tj at kernel.org
Fri Sep 6 15:38:51 UTC 2019
Hello, Daniel.
On Fri, Sep 06, 2019 at 05:36:02PM +0200, Daniel Vetter wrote:
> Block devices are a great example I think. How do you handle the
> partitions on that? For drm we also have a main minor interface, and
cgroup IO controllers only distribute hardware IO capacity and are
blind to partitions. As there's always the whole device MAJ:MIN for
block devices, we only use that.
> then the render-only interface on drivers that support it. So if blkcg
> handles that by only exposing the primary maj:min pair, I think we can
> go with that and it's all nicely consistent.
Ah yeah, that sounds equivalent. Great.
Thanks.
--
tejun
More information about the amd-gfx
mailing list