mirror_ubuntu-kernels/drivers/gpu/drm/vmwgfx
Ian Forbes 5703fc058e drm/vmwgfx: Don't memcmp equivalent pointers
These pointers are frequently the same and memcmp does not compare the
pointers before comparing their contents so this was wasting cycles
comparing 16 KiB of memory which will always be equal.

Fixes: bb6780aa5a ("drm/vmwgfx: Diff cursors when using cmds")
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240328190716.27367-1-ian.forbes@broadcom.com
2024-06-05 22:38:40 -04:00
..
device_include
Kconfig
Makefile drm/vmwgfx: Implement virtual kms 2024-04-15 13:32:18 -04:00
ttm_object.c drm/vmwgfx: Remove unused code 2024-03-28 21:25:08 -04:00
ttm_object.h drm/vmwgfx: Make all surfaces shareable 2024-01-30 14:18:18 -05:00
vmw_surface_cache.h
vmwgfx_binding.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_binding.h
vmwgfx_blit.c drm/vmwgfx: Fix prime import/export 2024-04-15 11:48:36 -04:00
vmwgfx_bo.c drm/vmwgfx: Fix Legacy Display Unit 2024-04-25 20:28:30 -04:00
vmwgfx_bo.h drm/vmwgfx: Fix prime import/export 2024-04-15 11:48:36 -04:00
vmwgfx_cmd.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_cmdbuf_res.c
vmwgfx_cmdbuf.c
vmwgfx_context.c
vmwgfx_cotable.c drm/vmwgfx: Keep a gem reference to user bos in surfaces 2023-10-09 15:53:30 -04:00
vmwgfx_devcaps.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_devcaps.h
vmwgfx_drv.c drm/vmwgfx: Standardize use of kibibytes when logging 2024-06-05 22:10:49 -04:00
vmwgfx_drv.h drm/vmwgfx: Remove STDU logic from generic mode_valid function 2024-06-05 22:10:48 -04:00
vmwgfx_execbuf.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_fence.c drm/vmwgfx: Fix invalid reads in fence signaled events 2024-04-30 12:54:07 -04:00
vmwgfx_fence.h
vmwgfx_gem.c drm/print: drop include debugfs.h and include where needed 2024-04-25 17:05:48 +03:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c drm/vmwgfx: Standardize use of kibibytes when logging 2024-06-05 22:10:49 -04:00
vmwgfx_ioctl.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Don't memcmp equivalent pointers 2024-06-05 22:38:40 -04:00
vmwgfx_kms.h Linux 6.9-rc5 2024-04-22 14:35:52 +10:00
vmwgfx_ldu.c drm/vmwgfx: Implement virtual kms 2024-04-15 13:32:18 -04:00
vmwgfx_mksstat.h
vmwgfx_mob.c
vmwgfx_msg_arm64.h
vmwgfx_msg_x86.h drm/vmwgfx: Add unwind hints around RBP clobber 2023-06-07 10:03:12 -07:00
vmwgfx_msg.c drm/vmwgfx: Print errors when running on broken/unsupported configs 2023-04-11 12:29:30 -04:00
vmwgfx_overlay.c drm/vmwgfx: Keep a gem reference to user bos in surfaces 2023-10-09 15:53:30 -04:00
vmwgfx_page_dirty.c
vmwgfx_prime.c drm/vmwgfx: Fix prime import/export 2024-04-15 11:48:36 -04:00
vmwgfx_reg.h
vmwgfx_resource_priv.h
vmwgfx_resource.c drm/vmwgfx: Implement virtual crc generation 2024-04-15 13:32:45 -04:00
vmwgfx_scrn.c drm/vmwgfx: Implement virtual kms 2024-04-15 13:32:18 -04:00
vmwgfx_shader.c drm/vmwgfx: Keep a gem reference to user bos in surfaces 2023-10-09 15:53:30 -04:00
vmwgfx_simple_resource.c
vmwgfx_so.c flexible-array transformations for 6.4-rc1 2023-04-26 08:25:57 -07:00
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: remove unused struct 'vmw_stdu_dma' 2024-06-05 22:20:25 -04:00
vmwgfx_streamoutput.c
vmwgfx_surface.c drm/vmwgfx: Make all surfaces shareable 2024-01-30 14:18:18 -05:00
vmwgfx_system_manager.c
vmwgfx_ttm_buffer.c drm/vmwgfx: Fix prime import/export 2024-04-15 11:48:36 -04:00
vmwgfx_va.c
vmwgfx_validation.c drm/vmwgfx: Remove unused code 2024-03-28 21:25:08 -04:00
vmwgfx_validation.h drm/vmwgfx: Remove unused code 2024-03-28 21:25:08 -04:00
vmwgfx_vkms.c drm/vmwgfx: Implement virtual crc generation 2024-04-15 13:32:45 -04:00
vmwgfx_vkms.h drm/vmwgfx: Implement virtual crc generation 2024-04-15 13:32:45 -04:00