]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: return an error if query_video_caps is not set
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jun 2023 13:14:32 +0000 (09:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jul 2023 17:51:47 +0000 (13:51 -0400)
commitbc8ba5f2da3e7bd63bc1750f6c7e480c406de8b0
tree135f90b1bba42fd6e25233c5584e3e70962ff574
parent95de7f26b5c0bd907834b1027a2dca8ac6758bbc
drm/amdgpu: return an error if query_video_caps is not set

Should only be an issue for bring up when the function
pointer is not set, but check it anyway to be safe.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c