summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2019-08-06 13:50:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-15 10:57:42 -0500
commit675a9e38b39c4114dbcf1ed2e7f7a0e5a6a5e4b4 (patch)
tree7be1be08d47bc459aa34218c98d5f93f7f8b87ef /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
parent6d83a32d0bdd39cdcc0d70d7b719cd2ffb419268 (diff)
drm/amd/display: Load NV12 SOC BB from firmware
[Why] Previous SOC bounding box firmware loading logic was for NV10, when we still had it in firmware. Now that it's brought into driver code, and NV12 BB is in firmware, this logic needs to be repurposed for NV12. [How] Set SOC_BOUNDING_BOX_VALID to false, and add the dcn_2_0_nv12_soc BB struct. In init_soc_bounding_box, load firmware to nv12 BB instead. In addition, conditionally update and patch the BB, depending on ASIC REV. Signed-off-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Hersen Wu <hersenxs.wu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c')
0 files changed, 0 insertions, 0 deletions