aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-10-09 13:55:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-10-10 14:48:52 -0500
commitc8963ea4ce1783034e1f9cf0d702fa490eb77836 (patch)
tree09cafe09785721ceba14450917a6461daeb5e5bf /mm
parenta2d31dc3cfab29f79c1cda2876d32b909ae26e25 (diff)
drm/amdgpu: Split amdgpu_ucode_init/fini_bo into two functions
1. one is for create/free bo when init/fini 2. one is for fill the bo before fw loading the ucode bo only need to be created when load driver and free when driver unload. when resume/reset, driver only need to re-fill the bo if the bo is allocated in vram. Suggested by Christian. v2: Return error when bo create failed. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions