]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Simplify the bo size check funciton
authorMa Jun <Jun.Ma2@amd.com>
Fri, 25 Aug 2023 03:11:51 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:51:16 +0000 (15:51 -0400)
commit8f9a9a09af24f975ffd6e18b22c4ee8f86bbc01f
tree3cb55f4b8fb7d46b7e009b9dc492076162f35a4c
parentd30279a9e37a4085d063ae2b551233865b38c3e8
drm/amd: Simplify the bo size check funciton

Simplify the code logic of size check function amdgpu_bo_validate_size

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