summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2020-01-06 10:29:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-01-22 16:55:27 -0500
commit153ca760219277997e2c3146ae9a15c979c50520 (patch)
treeaf11fc195c9fb1569f5a63ae22294af66030743b /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parent07d4f905329438b8e4daf7f58f5afea7d781a9b2 (diff)
downloadlinux-153ca760219277997e2c3146ae9a15c979c50520.tar.gz
linux-153ca760219277997e2c3146ae9a15c979c50520.tar.bz2
linux-153ca760219277997e2c3146ae9a15c979c50520.zip
drm/amd/display: Get fb base and fb offset for DMUB from registers
[Why] Under some hardware initialization sequences the fb base/fb offset provided can be zero or hardwareinit can happen too late. We want to ensure that we always have the correct fb_base/fb_offset when performing DMCUB hardware initialization so we can do DMCUB command table offloading during first dc hardware init. [How] Read from the DCN registers. VBIOS already filled these in for us. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions