drm/amd/display: use dcn10 version of program tiling on Renoir
authorEric Yang <Eric.Yang2@amd.com>
Wed, 2 Oct 2019 19:57:13 +0000 (15:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:28:21 +0000 (16:28 -0400)
[Why]
Renoir is gfx9, same as dcn10, not dcn20.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c

index a00af513aa2b01226ef286bed224176d854ac7a6..2f5a5867e6749318b65f30a8f80b3b8983659484 100644 (file)
@@ -22,6 +22,8 @@
  * Authors: AMD
  *
  */
+
+#include "dcn10/dcn10_hubp.h"
 #include "dcn21_hubp.h"
 
 #include "dm_services.h"
@@ -202,7 +204,7 @@ static struct hubp_funcs dcn21_hubp_funcs = {
        .hubp_enable_tripleBuffer = hubp2_enable_triplebuffer,
        .hubp_is_triplebuffer_enabled = hubp2_is_triplebuffer_enabled,
        .hubp_program_surface_flip_and_addr = hubp2_program_surface_flip_and_addr,
-       .hubp_program_surface_config = hubp2_program_surface_config,
+       .hubp_program_surface_config = hubp1_program_surface_config,
        .hubp_is_flip_pending = hubp1_is_flip_pending,
        .hubp_setup = hubp21_setup,
        .hubp_setup_interdependent = hubp2_setup_interdependent,