mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
drm/i915/hdcp: Make some functions static
With the debugfs implementation moved next to the implementation, we no longer need to expose some of the functions. Make them static. Cc: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250207105838.179805-1-jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
d4e51a45f1
commit
7d94a9a1c4
2 changed files with 5 additions and 11 deletions
|
|
@ -209,7 +209,7 @@ int intel_hdcp_read_valid_bksv(struct intel_digital_port *dig_port,
|
|||
}
|
||||
|
||||
/* Is HDCP1.4 capable on Platform and Sink */
|
||||
bool intel_hdcp_get_capability(struct intel_connector *connector)
|
||||
static bool intel_hdcp_get_capability(struct intel_connector *connector)
|
||||
{
|
||||
struct intel_digital_port *dig_port;
|
||||
const struct intel_hdcp_shim *shim = connector->hdcp.shim;
|
||||
|
|
@ -265,7 +265,7 @@ static bool intel_hdcp2_prerequisite(struct intel_connector *connector)
|
|||
}
|
||||
|
||||
/* Is HDCP2.2 capable on Platform and Sink */
|
||||
bool intel_hdcp2_get_capability(struct intel_connector *connector)
|
||||
static bool intel_hdcp2_get_capability(struct intel_connector *connector)
|
||||
{
|
||||
struct intel_hdcp *hdcp = &connector->hdcp;
|
||||
bool capable = false;
|
||||
|
|
@ -279,9 +279,9 @@ bool intel_hdcp2_get_capability(struct intel_connector *connector)
|
|||
return capable;
|
||||
}
|
||||
|
||||
void intel_hdcp_get_remote_capability(struct intel_connector *connector,
|
||||
bool *hdcp_capable,
|
||||
bool *hdcp2_capable)
|
||||
static void intel_hdcp_get_remote_capability(struct intel_connector *connector,
|
||||
bool *hdcp_capable,
|
||||
bool *hdcp2_capable)
|
||||
{
|
||||
struct intel_hdcp *hdcp = &connector->hdcp;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ struct intel_encoder;
|
|||
struct intel_hdcp_shim;
|
||||
struct seq_file;
|
||||
enum port;
|
||||
enum transcoder;
|
||||
|
||||
void intel_hdcp_atomic_check(struct drm_connector *connector,
|
||||
struct drm_connector_state *old_state,
|
||||
|
|
@ -39,11 +38,6 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,
|
|||
const struct intel_crtc_state *crtc_state,
|
||||
const struct drm_connector_state *conn_state);
|
||||
bool is_hdcp_supported(struct intel_display *display, enum port port);
|
||||
bool intel_hdcp_get_capability(struct intel_connector *connector);
|
||||
bool intel_hdcp2_get_capability(struct intel_connector *connector);
|
||||
void intel_hdcp_get_remote_capability(struct intel_connector *connector,
|
||||
bool *hdcp_capable,
|
||||
bool *hdcp2_capable);
|
||||
void intel_hdcp_component_init(struct intel_display *display);
|
||||
void intel_hdcp_component_fini(struct intel_display *display);
|
||||
void intel_hdcp_cleanup(struct intel_connector *connector);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue