Commit 02981b28 authored by Eric Yang's avatar Eric Yang Committed by Alex Deucher

drm/amd/display: use dcn10 version of program tiling on Renoir

[Why]
Renoir is gfx9, same as dcn10, not dcn20.
Signed-off-by: default avatarEric Yang <Eric.Yang2@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: default avatarRoman Li <Roman.Li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6ba3712d
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
* Authors: AMD * Authors: AMD
* *
*/ */
#include "dcn10/dcn10_hubp.h"
#include "dcn21_hubp.h" #include "dcn21_hubp.h"
#include "dm_services.h" #include "dm_services.h"
...@@ -202,7 +204,7 @@ static struct hubp_funcs dcn21_hubp_funcs = { ...@@ -202,7 +204,7 @@ static struct hubp_funcs dcn21_hubp_funcs = {
.hubp_enable_tripleBuffer = hubp2_enable_triplebuffer, .hubp_enable_tripleBuffer = hubp2_enable_triplebuffer,
.hubp_is_triplebuffer_enabled = hubp2_is_triplebuffer_enabled, .hubp_is_triplebuffer_enabled = hubp2_is_triplebuffer_enabled,
.hubp_program_surface_flip_and_addr = hubp2_program_surface_flip_and_addr, .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_is_flip_pending = hubp1_is_flip_pending,
.hubp_setup = hubp21_setup, .hubp_setup = hubp21_setup,
.hubp_setup_interdependent = hubp2_setup_interdependent, .hubp_setup_interdependent = hubp2_setup_interdependent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment