]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amd/display: fix documentation for amdgpu_dm_verify_lut3d_size()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2023 15:41:41 +0000 (10:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2023 20:29:23 +0000 (15:29 -0500)
It takes the plane state rather than the crtc state.

Fixes: aba8b76baabd ("drm/amd/display: add plane shaper LUT support")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Melissa Wen <mwen@igalia.com>
Cc: Harry.Wentland@amd.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c

index 96aecc1a71a33b7bebf316f1abb77ac453b6f820..c6ed0d854b01d224c2256c65a145718f39abb521 100644 (file)
@@ -796,7 +796,7 @@ static int amdgpu_dm_atomic_blend_lut(const struct drm_color_lut *blend_lut,
  * amdgpu_dm_verify_lut3d_size - verifies if 3D LUT is supported and if user
  * shaper and 3D LUTs match the hw supported size
  * @adev: amdgpu device
- * @crtc_state: the DRM CRTC state
+ * @plane_state: the DRM plane state
  *
  * Verifies if pre-blending (DPP) 3D LUT is supported by the HW (DCN 2.0 or
  * newer) and if the user shaper and 3D LUTs match the supported size.