summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorIan Forbes <ian.forbes@broadcom.com>2024-03-28 22:07:16 +0300
committerZack Rusin <zack.rusin@broadcom.com>2024-06-06 05:38:40 +0300
commit5703fc058efdafcdd6b70776ee562478f0753acb (patch)
tree47737f0df8eec5e16cac067489bea7be7f0a774b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentb91e05f1fcf755c9d2c4ca10907383e39def05bd (diff)
downloadlinux-5703fc058efdafcdd6b70776ee562478f0753acb.tar.xz
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: bb6780aa5a1d ("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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions