···9393 resource_size_t size = 256 * 1024; /* ??? */94949595 if (!(adev->flags & AMD_IS_APU))9696- if (amdgpu_need_post(adev))9696+ if (amdgpu_device_need_post(adev))9797 return false;98989999 adev->bios = NULL;
+4-4
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
···671671 * GPU helpers function.672672 */673673/**674674- * amdgpu_need_post - check if the hw need post or not674674+ * amdgpu_device_need_post - check if the hw need post or not675675 *676676 * @adev: amdgpu_device pointer677677 *···679679 * or post is needed if hw reset is performed.680680 * Returns true if need or false if not.681681 */682682-bool amdgpu_need_post(struct amdgpu_device *adev)682682+bool amdgpu_device_need_post(struct amdgpu_device *adev)683683{684684 uint32_t reg;685685···19461946 amdgpu_device_detect_sriov_bios(adev);1947194719481948 /* Post card if necessary */19491949- if (amdgpu_need_post(adev)) {19491949+ if (amdgpu_device_need_post(adev)) {19501950 if (!adev->bios) {19511951 dev_err(adev->dev, "no vBIOS found\n");19521952 r = -EINVAL;···22752275 }2276227622772277 /* post card */22782278- if (amdgpu_need_post(adev)) {22782278+ if (amdgpu_device_need_post(adev)) {22792279 r = amdgpu_atom_asic_init(adev->mode_info.atom_context);22802280 if (r)22812281 DRM_ERROR("amdgpu asic init failed\n");