[PATCH] drm/vmwgfx: Call vmw_driver_{load,unload}() before registering device

Thomas Zimmermann tzimmermann at suse.de
Tue Dec 10 10:47:19 UTC 2019


Hi

Am 10.12.19 um 11:37 schrieb Thomas Hellstrom:
> Hi,
> 
> On 12/9/19 12:06 PM, Thomas Zimmermann wrote:
>> The load/unload callbacks in struct drm_driver are deprecated. Remove
>> them and call functions explicitly.
>>
>> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
>> ---
>>  drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 44 +++++++
> 
> Hmm, which tree is this diff against? I get
> 
> Applying: drm/vmwgfx: Call vmw_driver_{load, unload}() before
> registering device
> Using index info to reconstruct a base tree...
> M    drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
> error: patch failed: drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:1329
> error: drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: patch does not apply
> error: Did you hand edit your patch?
> It does not apply to blobs recorded in its index.
> Patch failed at 0001 drm/vmwgfx: Call vmw_driver_{load, unload}() before
> registering device
> 
> On both drm-misc-next and linus' master?

It's against one of yesterday's drm-tip. Let me know if you prefer a
patch against drm-misc-next.

Best regards
Thomas

> 
> 
> Thanks,
> 
> Thomas
> 
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191210/3ed4596f/attachment.sig>


More information about the dri-devel mailing list