Re: [PATCH xserver] xfree86: Remove driver entity hooks and private

2017-03-29 Thread Adam Jackson
On Tue, 2017-03-28 at 12:48 -0700, Eric Anholt wrote:
> > Adam Jackson  writes:
> 
> > No driver is using these, as far as I know.
> 
> If we're going to leave the args in place for xf86ConfigPciEntity, could
> we assert that init/enter/leave are NULL, to catch if a driver *did*
> exist that used them?

We sure could, let's do that. I didn't take them out because I didn't
feel like fixing up literally every driver just for this. One of these
days we'll have a less boilerplatey driver model...

> The docs for xf86ConfigPciEntity() should probably also note that
> enter/init/leave are unused.  The docs for xf86ConfigIsaEntity(), on the
> other hand, should probably be deleted :)

Will do.

- ajax
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH xserver] xfree86: Remove driver entity hooks and private

2017-03-28 Thread Eric Anholt
Adam Jackson  writes:

> No driver is using these, as far as I know.

If we're going to leave the args in place for xf86ConfigPciEntity, could
we assert that init/enter/leave are NULL, to catch if a driver *did*
exist that used them?

The docs for xf86ConfigPciEntity() should probably also note that
enter/init/leave are unused.  The docs for xf86ConfigIsaEntity(), on the
other hand, should probably be deleted :)


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel