mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/amd/display: Remove unused link_enc_cfg_get_link_enc_used_by_stream
link_enc_cfg_get_link_enc_used_by_stream() is no longer used after
2021's:
commit 6366b00346 ("drm/amd/display: Maintain consistent mode of
operation during encoder assignment")
which introduces and uses the _current version instead.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6d4e03d0b1
commit
b0fce908cf
|
|
@ -559,17 +559,6 @@ struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc)
|
|||
return link_enc;
|
||||
}
|
||||
|
||||
struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream(
|
||||
struct dc *dc,
|
||||
const struct dc_stream_state *stream)
|
||||
{
|
||||
struct link_encoder *link_enc;
|
||||
|
||||
link_enc = link_enc_cfg_get_link_enc_used_by_link(dc, stream->link);
|
||||
|
||||
return link_enc;
|
||||
}
|
||||
|
||||
struct link_encoder *link_enc_cfg_get_link_enc(
|
||||
const struct dc_link *link)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -96,11 +96,6 @@ struct link_encoder *link_enc_cfg_get_link_enc_used_by_link(
|
|||
/* Return next available DIG link encoder. NULL if none available. */
|
||||
struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc);
|
||||
|
||||
/* Return DIG link encoder used by stream. NULL if unused. */
|
||||
struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream(
|
||||
struct dc *dc,
|
||||
const struct dc_stream_state *stream);
|
||||
|
||||
/* Return DIG link encoder. NULL if unused. */
|
||||
struct link_encoder *link_enc_cfg_get_link_enc(const struct dc_link *link);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user