summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-03-21 20:58:50 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-03-28 01:20:53 +0300
commit0e909e4fa8895bcef1b1ef2e39b9f1a158933ffe (patch)
treece06ae988c1f5c06e484984a3805e4bd76d8c413 /tools/perf/scripts/python/mem-phys-addr.py
parenta76766664a9f91dfde906fecd1409ba596a30e33 (diff)
downloadlinux-0e909e4fa8895bcef1b1ef2e39b9f1a158933ffe.tar.xz
drm/amd/display: Slightly optimize dm_dmub_outbox1_low_irq()
A kzalloc()+memcpy() can be optimized in a single kmemdup(). This saves a few cycles because some memory doesn't need to be zeroed. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions