aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2024-07-16 17:41:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-07-27 17:34:07 -0400
commitbd870cfd21489d28195fda157710ebd4cecaa8ca (patch)
tree2f58ea6f7e4708018a1f0956c692818a80030cdf /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdf18a4de9e77ad92c472fd1eb0fb1255d52dd4cd (diff)
downloadlinux-bd870cfd21489d28195fda157710ebd4cecaa8ca.tar.gz
linux-bd870cfd21489d28195fda157710ebd4cecaa8ca.tar.bz2
linux-bd870cfd21489d28195fda157710ebd4cecaa8ca.zip
drm/amd/display: Add seamless boot support for more DIG operation modes
[Why] When pre-OS firmware enables display support for displays that operate the DIG in 2 pixels per cycle processing modes the inferred pixel rate from get_pixel_clk_frequency_100hz does not account for the true pixel rate since we're outputting 2 per cycle past the stream encoder. This causes seamless boot validation to abort early. [How] Add a new stream encoder function for getting pixels per cycle from the stream encoder. If the pixels per cycle is greater than 1 and the driver policy is to enable 2 pixels per cycle for post-OS then allow seamless boot to continue. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Duncan Ma <duncan.ma@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions