aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorMatt Atwood <[email protected]>2020-06-30 23:33:10 +0000
committerJosé Roberto de Souza <[email protected]>2020-07-01 23:24:45 +0000
commit680c45c767f63e35f063d3ea04f388a9f7ae7079 (patch)
treeb4895bffbc4432384fce327240784caf044ecf5e /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentdrm/i915: Fix g4x fbc watermark enable (diff)
downloadkernel-680c45c767f63e35f063d3ea04f388a9f7ae7079.tar.gz
kernel-680c45c767f63e35f063d3ea04f388a9f7ae7079.zip
drm/i915/dp: Correctly advertise HBR3 for GEN11+
intel_dp_set_source_rates() calls intel_dp_is_edp(), which is unsafe to use before encoder_type is set. This caused GEN11+ to incorrectly strip HBR3 from source rates for edp. Move intel_dp_set_source_rates() to after encoder_type is set. Add comment to intel_dp_is_edp() describing unsafe usages. v2: Alter intel_dp_set_source_rates final position (Ville/Manasi). Remove outdated comment (Ville). Slight optimization of control flow in intel_dp_init_connector. Slight rewording in commit message. Signed-off-by: Matt Atwood <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions