aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2020-05-05 16:03:28 +0000
committerSam Ravnborg <[email protected]>2020-06-29 07:42:12 +0000
commit1a5c4fe91de2e81c93c1e249a6a05295295ff3d9 (patch)
treec16e9be0f059d06dc09e22905645a33fccb28cf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentdrm/dsi: use stack buffer in mipi_dsi_dcs_write() (diff)
downloadkernel-1a5c4fe91de2e81c93c1e249a6a05295295ff3d9.tar.gz
kernel-1a5c4fe91de2e81c93c1e249a6a05295295ff3d9.zip
drm/panel: use mipi_dsi_dcs_write_buffer where possible
A few of the new panels create a local macro wrapping around mipi_dsi_dcs_write. At the same time, they don't really care about the command/payload split. mipi_dsi_dcs_write does a kmalloc/memcpy/kfree for payload > 7 bytes. Avoid that all together by using the _buffer function. Aside: panel-xinpeng-xpp055c272.c calls its wrapper "generic" although it should be "dcs". But that for another day/patch. Cc: Heiko Stuebner <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions