drm/amd/display: Allow dmu_stg to support cached inbox for dmub
authorWyatt Wood <wyatt.wood@amd.com>
Fri, 4 Dec 2020 03:04:27 +0000 (22:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:20 +0000 (16:38 -0500)
commit16ca2d465d0fd327a71d6fac9605c154ee9d8620
treec3c19c5fa34788864fd75ea12ebc7aab3ab65a86
parent69d5c7f398c3e1b5ee56200d54c69239b3db9da7
drm/amd/display: Allow dmu_stg to support cached inbox for dmub

[Why]
FW version check doesn't allow dmu_stg to support cached inbox,
which yields much better performance than region 4.

[How]
Check a range of fw versions, rather than a simple greater than check.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c