drm/nouveau/disp/gm200-: remove 'head' parameter from nvkm_ior_func.hdmi.scdc()
It's no longer required. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Родитель
3afe676684
Коммит
8869dff1bd
|
@ -24,7 +24,7 @@
|
|||
#include "hdmi.h"
|
||||
|
||||
void
|
||||
gm200_hdmi_scdc(struct nvkm_ior *ior, int head, u8 scdc)
|
||||
gm200_hdmi_scdc(struct nvkm_ior *ior, u8 scdc)
|
||||
{
|
||||
struct nvkm_device *device = ior->disp->engine.subdev.device;
|
||||
const u32 soff = nv50_ior_base(ior);
|
||||
|
|
|
@ -66,7 +66,7 @@ struct nvkm_ior_func {
|
|||
void (*ctrl)(struct nvkm_ior *, int head, bool enable,
|
||||
u8 max_ac_packet, u8 rekey, u8 *avi, u8 avi_size,
|
||||
u8 *vendor, u8 vendor_size);
|
||||
void (*scdc)(struct nvkm_ior *, int head, u8 scdc);
|
||||
void (*scdc)(struct nvkm_ior *, u8 scdc);
|
||||
} hdmi;
|
||||
|
||||
struct {
|
||||
|
@ -156,7 +156,7 @@ void gf119_hdmi_ctrl(struct nvkm_ior *, int, bool, u8, u8, u8 *, u8 , u8 *, u8);
|
|||
void gk104_hdmi_ctrl(struct nvkm_ior *, int, bool, u8, u8, u8 *, u8 , u8 *, u8);
|
||||
void gv100_hdmi_ctrl(struct nvkm_ior *, int, bool, u8, u8, u8 *, u8 , u8 *, u8);
|
||||
|
||||
void gm200_hdmi_scdc(struct nvkm_ior *, int, u8);
|
||||
void gm200_hdmi_scdc(struct nvkm_ior *, u8);
|
||||
|
||||
void gt215_hda_hpd(struct nvkm_ior *, int, bool);
|
||||
void gt215_hda_eld(struct nvkm_ior *, int, u8 *, u8);
|
||||
|
|
|
@ -205,8 +205,7 @@ nv50_disp_root_mthd_(struct nvkm_object *object, u32 mthd, void *data, u32 size)
|
|||
vendor, vendor_size);
|
||||
|
||||
if (outp->ior->func->hdmi.scdc)
|
||||
outp->ior->func->hdmi.scdc(
|
||||
outp->ior, hidx, args->v0.scdc);
|
||||
outp->ior->func->hdmi.scdc(outp->ior, args->v0.scdc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче