linux/drivers/gpu/drm/nouveau/nvif/outp.c

/*
 * Copyright 2021 Red Hat Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */
#include <nvif/outp.h>
#include <nvif/disp.h>
#include <nvif/printf.h>

#include <nvif/class.h>

int
nvif_outp_dp_mst_vcpi(struct nvif_outp *outp, int head,
		      u8 start_slot, u8 num_slots, u16 pbn, u16 aligned_pbn)
{}

int
nvif_outp_dp_mst_id_put(struct nvif_outp *outp, u32 id)
{}

int
nvif_outp_dp_mst_id_get(struct nvif_outp *outp, u32 *id)
{}

int
nvif_outp_dp_sst(struct nvif_outp *outp, int head, u32 watermark, u32 hblanksym, u32 vblanksym)
{}

int
nvif_outp_dp_drive(struct nvif_outp *outp, u8 link_nr, u8 pe[4], u8 vs[4])
{}

int
nvif_outp_dp_train(struct nvif_outp *outp, u8 dpcd[DP_RECEIVER_CAP_SIZE], u8 lttprs,
		   u8 link_nr, u32 link_bw, bool mst, bool post_lt_adj, bool retrain)
{}

int
nvif_outp_dp_rates(struct nvif_outp *outp, struct nvif_outp_dp_rate *rate, int rate_nr)
{}

int
nvif_outp_dp_aux_xfer(struct nvif_outp *outp, u8 type, u8 *psize, u32 addr, u8 *data)
{}

int
nvif_outp_dp_aux_pwr(struct nvif_outp *outp, bool enable)
{}

int
nvif_outp_hda_eld(struct nvif_outp *outp, int head, void *data, u32 size)
{}

int
nvif_outp_infoframe(struct nvif_outp *outp, u8 type, struct nvif_outp_infoframe_v0 *args, u32 size)
{}

int
nvif_outp_hdmi(struct nvif_outp *outp, int head, bool enable, u8 max_ac_packet, u8 rekey,
	       u32 khz, bool scdc, bool scdc_scrambling, bool scdc_low_rates)
{}

int
nvif_outp_lvds(struct nvif_outp *outp, bool dual, bool bpc8)
{}

int
nvif_outp_bl_set(struct nvif_outp *outp, int level)
{}

int
nvif_outp_bl_get(struct nvif_outp *outp)
{}

void
nvif_outp_release(struct nvif_outp *outp)
{}

static inline int
nvif_outp_acquire(struct nvif_outp *outp, u8 type, struct nvif_outp_acquire_v0 *args)
{}

int
nvif_outp_acquire_pior(struct nvif_outp *outp)
{}

int
nvif_outp_acquire_sor(struct nvif_outp *outp, bool hda)
{}

int
nvif_outp_acquire_dac(struct nvif_outp *outp)
{}

static int
nvif_outp_inherit(struct nvif_outp *outp,
		  u8 proto,
		  struct nvif_outp_inherit_v0 *args,
		  u8 *proto_out)
{}

int
nvif_outp_inherit_lvds(struct nvif_outp *outp, u8 *proto_out)
{}

int
nvif_outp_inherit_tmds(struct nvif_outp *outp, u8 *proto_out)
{}

int
nvif_outp_inherit_dp(struct nvif_outp *outp, u8 *proto_out)
{}

int
nvif_outp_inherit_rgb_crt(struct nvif_outp *outp, u8 *proto_out)
{}

int
nvif_outp_load_detect(struct nvif_outp *outp, u32 loadval)
{}

int
nvif_outp_edid_get(struct nvif_outp *outp, u8 **pedid)
{}

enum nvif_outp_detect_status
nvif_outp_detect(struct nvif_outp *outp)
{}

void
nvif_outp_dtor(struct nvif_outp *outp)
{}

int
nvif_outp_ctor(struct nvif_disp *disp, const char *name, int id, struct nvif_outp *outp)
{}