[PATCH 2/3] drm/vmwgfx: Copy DRM hash-table code into driver

Sam Ravnborg sam at ravnborg.org
Mon Nov 15 16:27:15 UTC 2021


Hi Thomas,

On Mon, Nov 15, 2021 at 01:55:38PM +0100, Thomas Zimmermann wrote:
> Besides some legacy code, vmwgfx is the only user of DRM's hash-
> table implementation. Copy the code into the driver, so that the
> core code can be retired.
For the record - I have no clue what legacy code uses the DRM hash-table
for.

> 
> No functional changes. However, the real solution for vmwgfx is to
> use Linux' generic hash-table functions.
Would it be possible to use the Linux hash-table now rather than this
mid-step where a lot of code is added to wmgfx only to be removed
later?

If we go for this way then a todo item to fix this in wmgfx so someone
can fix this later would be nice.

	Sam


More information about the dri-devel mailing list