mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
drm/sun4i: hdmi_enc: implement clear_infoframe stub
In preparation to making clear_infoframes callbacks required, add a stub to the sun4i driver. Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://patch.msgid.link/20260107-limit-infoframes-2-v4-3-213d0d3bd490@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
This commit is contained in:
parent
3a4ceb89a9
commit
638409979c
|
|
@ -40,6 +40,14 @@
|
|||
#define drm_connector_to_sun4i_hdmi(c) \
|
||||
container_of_const(c, struct sun4i_hdmi, connector)
|
||||
|
||||
static int sun4i_hdmi_clear_infoframe(struct drm_connector *connector,
|
||||
enum hdmi_infoframe_type type)
|
||||
{
|
||||
drm_warn_once(connector->dev, "clearing of AVI infoframe is not implemented\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sun4i_hdmi_write_infoframe(struct drm_connector *connector,
|
||||
enum hdmi_infoframe_type type,
|
||||
const u8 *buffer, size_t len)
|
||||
|
|
@ -236,6 +244,7 @@ static struct i2c_adapter *sun4i_hdmi_get_ddc(struct device *dev)
|
|||
|
||||
static const struct drm_connector_hdmi_funcs sun4i_hdmi_hdmi_connector_funcs = {
|
||||
.tmds_char_rate_valid = sun4i_hdmi_connector_clock_valid,
|
||||
.clear_infoframe = sun4i_hdmi_clear_infoframe,
|
||||
.write_infoframe = sun4i_hdmi_write_infoframe,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user