diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-06-17 13:08:58 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-20 12:29:08 -0500 |
commit | 1a1da391c9e24b0102205aa2fb819643b21fdd97 (patch) | |
tree | 6d4c346f9e941390d66c3d513528b4b9a4f986e7 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | |
parent | Revert "drm/amd/display: Rework CRTC color management" (diff) | |
download | linux-dev-1a1da391c9e24b0102205aa2fb819643b21fdd97.tar.xz linux-dev-1a1da391c9e24b0102205aa2fb819643b21fdd97.zip |
Revert "drm/amd/display: Use macro for invalid OPP ID"
This reverts commit 1760bd06c8e94e1b184139ae35201856403638cf.
Revert this to apply the version that includes DCN2 support.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c index aea2b63db137..54b219a710d8 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c @@ -63,7 +63,7 @@ void hubp1_set_blank(struct hubp *hubp, bool blank) } hubp->mpcc_id = 0xf; - hubp->opp_id = OPP_ID_INVALID; + hubp->opp_id = 0xf; } } @@ -1226,7 +1226,7 @@ void dcn10_hubp_construct( hubp1->hubp_shift = hubp_shift; hubp1->hubp_mask = hubp_mask; hubp1->base.inst = inst; - hubp1->base.opp_id = OPP_ID_INVALID; + hubp1->base.opp_id = 0xf; hubp1->base.mpcc_id = 0xf; } |