[PATCH] drm/amd/display: fix documentation for amdgpu_dm_verify_lut3d_size()
Melissa Wen
mwen at igalia.com
Thu Dec 14 19:28:40 UTC 2023
On 12/14, Alex Deucher wrote:
> 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 at canb.auug.org.au>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: Melissa Wen <mwen at igalia.com>
> Cc: Harry.Wentland at amd.com
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
> index 96aecc1a71a3..c6ed0d854b01 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
> @@ -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 <mwen at igalia.com>
> *
> * 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.
> --
> 2.42.0
>
More information about the amd-gfx
mailing list