linux/drivers/gpu/drm/vmwgfx
Zack Rusin 68ce556bd1 drm/vmwgfx: Fix the lockdep breakage
Thomas has noticed that the lockdep was broken in vmwgfx. It
was broken during the pci initialization rework. This fixes
the breakage by making sure we initialize the locking code
before doing anything else. This was independently spotted
and fixed by Tetsuo Handa as well.

Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Zack Rusin <zackr@vmware.com>
Fixes: 8772c0bb58 ("drm/vmwgfx: Cleanup pci resource allocation")
Link: https://patchwork.freedesktop.org/patch/msgid/20210408172245.673785-1-zackr@vmware.com
2021-04-14 16:41:17 -04:00
..
device_include drm/vmwgfx: Sync virtual device headers for new feature 2020-03-23 22:39:34 +01:00
Kconfig drm/vmwgfx: Implement an infrastructure for write-coherent resources 2019-11-06 13:04:54 +01:00
Makefile drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
ttm_lock.c drm/vmwgfx: Kill unneeded legacy security features 2019-08-15 08:39:27 +02:00
ttm_lock.h drm/vmwgfx: drop use of drmP.h in header files 2019-08-15 08:40:04 +02:00
ttm_object.c drm/ttm/drivers: remove unecessary ttm_module.h include v2 2020-12-01 17:43:46 +01:00
ttm_object.h drm/vmwgfx: drop use of drmP.h in header files 2019-08-15 08:40:04 +02:00
vmwgfx_binding.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_binding.h drm/vmwgfx: Add support for streamoutput with mob commands 2020-03-23 22:39:35 +01:00
vmwgfx_blit.c drm/ttm: cleanup BO size handling v3 2020-12-14 14:20:46 +01:00
vmwgfx_bo.c drm/ttm: cleanup BO size handling v3 2020-12-14 14:20:46 +01:00
vmwgfx_cmd.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add 2020-01-15 11:46:59 +01:00
vmwgfx_cmdbuf.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_context.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_cotable.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_drv.c drm/vmwgfx: Fix the lockdep breakage 2021-04-14 16:41:17 -04:00
vmwgfx_drv.h drm/vmwgfx: Fix the lockdep breakage 2021-04-14 16:41:17 -04:00
vmwgfx_execbuf.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_fb.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_fence.c drm/vmwgfx: Cleanup fifo mmio handling 2021-01-14 12:13:19 -05:00
vmwgfx_fence.h drm/vmwgfx: drop use of drmP.h in header files 2019-08-15 08:40:04 +02:00
vmwgfx_gmr.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_gmrid_manager.c drm/ttm: cleanup BO size handling v3 2020-12-14 14:20:46 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_irq.c drm/vmwgfx: Remove the throttling code 2021-01-14 12:14:10 -05:00
vmwgfx_kms.c drm/vmwgfx: Fix display register usage for some older configs 2021-01-14 12:16:47 -05:00
vmwgfx_kms.h drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
vmwgfx_ldu.c drm/vmwgfx: Fix display register usage for some older configs 2021-01-14 12:16:47 -05:00
vmwgfx_mob.c drm/vmwgfx: Make sure we unpin no longer needed buffers 2021-04-14 16:41:02 -04:00
vmwgfx_msg.c objtool: Rename frame.h -> objtool.h 2020-09-10 10:43:13 -05:00
vmwgfx_msg.h drm/vmwgfx: Update the backdoor call with support for new instructions 2019-08-28 13:36:46 +02:00
vmwgfx_overlay.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_page_dirty.c mm: use is_cow_mapping() across tree where proper 2021-03-13 11:27:30 -08:00
vmwgfx_prime.c drm/vmwgfx: Delete mmaping functions 2019-11-25 22:36:14 +01:00
vmwgfx_reg.h
vmwgfx_resource_priv.h drm/vmwgfx: Implement an infrastructure for read-coherent resources 2019-11-06 13:30:27 +01:00
vmwgfx_resource.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_scrn.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_shader.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_simple_resource.c
vmwgfx_so.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_so.h drm/vmwgfx: Add support for streamoutput with mob commands 2020-03-23 22:39:35 +01:00
vmwgfx_stdu.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_streamoutput.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_surface.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_thp.c drm/ttm/drivers: remove unecessary ttm_module.h include v2 2020-12-01 17:43:46 +01:00
vmwgfx_ttm_buffer.c drm/vmwgfx: Switch to a managed drm device 2021-01-14 12:12:48 -05:00
vmwgfx_ttm_glue.c mm: use is_cow_mapping() across tree where proper 2021-03-13 11:27:30 -08:00
vmwgfx_va.c
vmwgfx_validation.c drm/vmwgfx: switch over to the new pin interface v2 2020-09-24 16:16:49 +02:00
vmwgfx_validation.h drm/vmwgfx: Implement an infrastructure for write-coherent resources 2019-11-06 13:04:54 +01:00