Conversation
This commit: - Instantiates HPO HDMI encoders - Restores HPO HDMI registers to the register list - Implements set_hdmistreamclk Signed-off-by: Michał Kopeć <michal@nozomi.space>
…_hdmistreamclk Signed-off-by: Michał Kopeć <michal@nozomi.space>
…r.h: drop unused registers These don't exist on earlier DCN. Drop to make the encoder compatible with all DCN gens. Signed-off-by: Michał Kopeć <michal@nozomi.space>
…ntiate HPO HDMI Signed-off-by: Michał Kopeć <michal@nozomi.space>
…DMI stream enc register Rename HDMI_STREAM_ENC_CLOCK_RAMP_ADJUSTER_FIFO_STATUS_CONTROL0__FIFO_PIXEL_ENCODING to HDMI_STREAM_ENC_CLOCK_RAMP_ADJUSTER_FIFO_STATUS_CONTROL0__FIFO_PIXEL_ENCODING_TYPE This makes the register name the same as on DCN401, ensuring we can use a common HPO HDMI encoder implementation on all gens. Signed-off-by: Michał Kopeć <michal@nozomi.space>
…tantiate HPO HDMI Encoders Signed-off-by: Michał Kopeć <michal@nozomi.space>
…ntiate HPO HDMI Encoders Signed-off-by: Michał Kopeć <michal@nozomi.space>
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Signed-off-by: Michał Kopeć <michal@nozomi.space>
…_hdmistreamclk Signed-off-by: Michał Kopeć <michal@nozomi.space>
… HDMISTREAMCLK define Signed-off-by: Michał Kopeć <michal@nozomi.space>
…ntiate HPO HDMI encoders Signed-off-by: Michał Kopeć <michal@nozomi.space>
…tantiate HPO HDMI encoders Signed-off-by: Michał Kopeć <michal@nozomi.space>
[Why] With a real client for these caps, there was a need to slightly modify how they are saved and what info they contain. [How] Save FRL info in renamed parsing function + save raw max_rate value. Eject FRL data into separate struct, reused in dsc_caps. Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
[Why] Incoming HDMI FRL training will need this info to properly decide on link training settings. [How] Add HDMI FRL data to dc_edid_caps as a separate struct. Copy HDMI FRL caps to amdgpu's own edid_caps. Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
[Why] Incoming HDMI DSC over FRL support will need this info to properly decide on link training settings and further link/compression settings. Info about DSC support will also be needed to decide which modes can be supported by DSC. [How] Add HDMI DSC data to dc_edid_caps as a separate struct. Use FRL struct inside not to duplicate efforts. Copy HDMI DSC caps to amdgpu's own edid_caps. Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
[Why] Enable FRL training that's based on dat areceived from sink in it's edid. [How] Pass the data from local_sink's edid_caps to dc_link current config and use it, to perform FRL training. Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
…c: fix FRL lane count
…r.c: fix pixel encoding
7f43f5b to
1583c8d
Compare
…v mode to manual on FRL
…r.c: set audio N and CTS correctly for FRL Values dumped by running the Windows driver at different FRL rates.
…r.c: fix hdmi rate list FRL 6 appears twice, once for 3 lanes and once for 4 lanes
…h: add missing enable field
…r.c: don't double-set audio info
…div mode to manual on FRL
…r.c: set HDMI_AUDIO_INFO_CONT
…m_encoder.c: set HDMI_AUDIO_INFO_CONT" This reverts commit cb82364.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR to make it easier to review changes