On Mon, Aug 31, 2026 at 12:05 PM Kanala Ramalingeswara Reddy <[email protected]> wrote: > > Psp runtime DB is for dGPUs only. > > Signed-off-by: Kanala Ramalingeswara Reddy > <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c > index a0f6df5067e6..62d906ede42a 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c > @@ -398,6 +398,13 @@ static bool psp_get_runtime_db_entry(struct > amdgpu_device *adev, > bool ret = false; > int i; > > + if (adev->flags & AMD_IS_APU) {
You can drop the parens around this. With that fixed: Acked-by: Alex Deucher <[email protected]> > + /* > + * Runtime DB is for dGPUs only. > + */ > + return false; > + } > + > if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) || > amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12) || > amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14) || > -- > 2.53.0 >
