drm/amd/display: fix documentation for amdgpu_dm_verify_lut3d_size()
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amd/display: fix documentation for amdgpu_dm_verify_lut3d_size()
It takes the plane state rather than the crtc state.
Fixes aba8b76baabd ("drm/amd/display: add plane shaper LUT support")
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
Cc Melissa Wen <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +1 -1
@@ -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.
Signature · 1 line
2.42.0
Quoted 16 lines · Alex Deucher
It takes the plane state rather than the crtc state.
Fixes aba8b76baabd ("drm/amd/display: add plane shaper LUT support")Reported-by Stephen Rothwell <[email protected]>Signed-off-by Alex Deucher <[email protected]>Cc Melissa Wen <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +0
-0
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static int amdgpu_dm_atomic_blend_lut(const struct drm_color_lut *blend_lut, · line 799
Quoted 5 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +1
-1@@ -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
Reviewed-by Melissa Wen <[email protected]>
Quoted 6 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +0
-0* * 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. Signature · 1 line
2.42.0