]> Git Repo - linux.git/commitdiff
drm/amd/display: remove outdated 8bpc comments
authorAlex Hung <[email protected]>
Mon, 6 Mar 2023 03:39:51 +0000 (11:39 +0800)
committerAlex Deucher <[email protected]>
Wed, 22 Mar 2023 04:48:01 +0000 (00:48 -0400)
[Why]
The commit c76e483cd916 ("drm/amd/display: Don't restrict bpc to 8 bpc")
removes the historical 8bpc dependency and sets max_bpc to 16.

[How]
The comment that states "8bpc for non-edp" needs to be removed as well.

Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index cbf36131cdd0ef96972be7249bfde7e34b4b2c61..5bac5781a06ba08f567e523e7ac8753ed74585d7 100644 (file)
@@ -7284,7 +7284,6 @@ void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
        if (!aconnector->mst_root)
                drm_connector_attach_max_bpc_property(&aconnector->base, 8, 16);
 
-       /* This defaults to the max in the range, but we want 8bpc for non-edp. */
        aconnector->base.state->max_bpc = 16;
        aconnector->base.state->max_requested_bpc = aconnector->base.state->max_bpc;
 
This page took 0.110938 seconds and 4 git commands to generate.