Lines Matching defs:adev
46 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(f)->i_private;
49 struct drm_device *dev = adev_to_drm(adev);
70 amdgpu_gfx_off_ctrl(adev, false);
74 ret = psp_rap_invoke(&adev->psp, op, &status);
76 dev_info(adev->dev, "RAP L0 validate test success.\n");
79 adev->psp.rap_context.context.mem_context.shared_buf;
82 dev_info(adev->dev, "RAP test failed, the output is:\n");
83 dev_info(adev->dev, "\tlast_subsection: 0x%08x.\n",
85 dev_info(adev->dev, "\tnum_total_validate: 0x%08x.\n",
87 dev_info(adev->dev, "\tnum_valid: 0x%08x.\n",
89 dev_info(adev->dev, "\tlast_validate_addr: 0x%08x.\n",
91 dev_info(adev->dev, "\tlast_validate_val: 0x%08x.\n",
93 dev_info(adev->dev, "\tlast_validate_val_exptd: 0x%08x.\n",
98 dev_info(adev->dev, "Unsupported op id: %d, ", op);
99 dev_info(adev->dev, "Only support op 2(L0 validate test).\n");
103 amdgpu_gfx_off_ctrl(adev, true);
117 void amdgpu_rap_debugfs_init(struct amdgpu_device *adev)
119 struct drm_minor *minor = adev_to_drm(adev)->primary;
121 if (!adev->psp.rap_context.context.initialized)
125 adev, &amdgpu_rap_debugfs_ops);