/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | gf100.c | 28 #include <engine/disp.h> 75 if (data < device->disp->vblank.index_nr) { in gf100_sw_chan_mthd() 109 struct nvkm_disp *disp = sw->engine.subdev.device->disp; in gf100_sw_chan_new() local 122 for (i = 0; disp && i < disp->vblank.index_nr; i++) { in gf100_sw_chan_new() 123 ret = nvkm_notify_init(NULL, &disp->vblank, in gf100_sw_chan_new()
|
H A D | nv50.c | 27 #include <engine/disp.h> 72 if (data < device->disp->vblank.index_nr) { in nv50_sw_chan_mthd() 103 struct nvkm_disp *disp = sw->engine.subdev.device->disp; in nv50_sw_chan_new() local 115 for (i = 0; disp && i < disp->vblank.index_nr; i++) { in nv50_sw_chan_new() 116 ret = nvkm_notify_init(NULL, &disp->vblank, in nv50_sw_chan_new()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | gf100.c | 28 #include <engine/disp.h> 75 if (data < device->disp->vblank.index_nr) { in gf100_sw_chan_mthd() 109 struct nvkm_disp *disp = sw->engine.subdev.device->disp; in gf100_sw_chan_new() local 122 for (i = 0; disp && i < disp->vblank.index_nr; i++) { in gf100_sw_chan_new() 123 nvkm_event_ntfy_add(&disp->vblank, i, NVKM_DISP_HEAD_EVENT_VBLANK, true, in gf100_sw_chan_new()
|
H A D | nv50.c | 27 #include <engine/disp.h> 72 if (data < device->disp->vblank.index_nr) { in nv50_sw_chan_mthd() 105 struct nvkm_disp *disp = sw->engine.subdev.device->disp; in nv50_sw_chan_new() local 117 for (i = 0; disp && i < disp->vblank.index_nr; i++) { in nv50_sw_chan_new() 118 nvkm_event_ntfy_add(&disp->vblank, i, NVKM_DISP_HEAD_EVENT_VBLANK, true, in nv50_sw_chan_new()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | cursnv50.c | 34 struct nv50_disp *disp, int ctrl, int user, in nv50_disp_curs_new_() 44 nvif_ioctl(parent, "create disp cursor size %d\n", argc); in nv50_disp_curs_new_() 46 nvif_ioctl(parent, "create disp cursor vers %d head %d\n", in nv50_disp_curs_new_() 48 if (!nvkm_head_find(&disp->base, args->v0.head)) in nv50_disp_curs_new_() 54 return nv50_disp_chan_new_(func, NULL, disp, ctrl + head, user + head, in nv50_disp_curs_new_() 60 struct nv50_disp *disp, struct nvkm_object **pobject) in nv50_disp_curs_new() 62 return nv50_disp_curs_new_(&nv50_disp_pioc_func, disp, 7, 7, in nv50_disp_curs_new() 33 nv50_disp_curs_new_(const struct nv50_disp_chan_func *func, struct nv50_disp *disp, int ctrl, int user, const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) nv50_disp_curs_new_() argument 59 nv50_disp_curs_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nv50_disp *disp, struct nvkm_object **pobject) nv50_disp_curs_new() argument
|
H A D | oimmnv50.c | 34 struct nv50_disp *disp, int ctrl, int user, in nv50_disp_oimm_new_() 44 nvif_ioctl(parent, "create disp overlay size %d\n", argc); in nv50_disp_oimm_new_() 46 nvif_ioctl(parent, "create disp overlay vers %d head %d\n", in nv50_disp_oimm_new_() 48 if (!nvkm_head_find(&disp->base, args->v0.head)) in nv50_disp_oimm_new_() 54 return nv50_disp_chan_new_(func, NULL, disp, ctrl + head, user + head, in nv50_disp_oimm_new_() 60 struct nv50_disp *disp, struct nvkm_object **pobject) in nv50_disp_oimm_new() 62 return nv50_disp_oimm_new_(&nv50_disp_pioc_func, disp, 5, 5, in nv50_disp_oimm_new() 33 nv50_disp_oimm_new_(const struct nv50_disp_chan_func *func, struct nv50_disp *disp, int ctrl, int user, const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) nv50_disp_oimm_new_() argument 59 nv50_disp_oimm_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nv50_disp *disp, struct nvkm_object **pobject) nv50_disp_oimm_new() argument
|
H A D | nv04.c | 28 nv04_disp_root(struct nvkm_disp *disp) in nv04_disp_root() argument 34 nv04_disp_intr(struct nvkm_disp *disp) in nv04_disp_intr() argument 36 struct nvkm_subdev *subdev = &disp->engine.subdev; in nv04_disp_intr() 43 nvkm_disp_vblank(disp, 0); in nv04_disp_intr() 48 nvkm_disp_vblank(disp, 1); in nv04_disp_intr()
|
H A D | ovlynv50.c | 35 struct nv50_disp *disp, int chid, in nv50_disp_ovly_new_() 46 nvif_ioctl(parent, "create disp overlay channel dma size %d\n", argc); in nv50_disp_ovly_new_() 48 nvif_ioctl(parent, "create disp overlay channel dma vers %d " in nv50_disp_ovly_new_() 51 if (!nvkm_head_find(&disp->base, args->v0.head)) in nv50_disp_ovly_new_() 58 return nv50_disp_dmac_new_(func, mthd, disp, chid + head, in nv50_disp_ovly_new_() 103 struct nv50_disp *disp, struct nvkm_object **pobject) in nv50_disp_ovly_new() 106 disp, 3, oclass, argv, argc, pobject); in nv50_disp_ovly_new() 33 nv50_disp_ovly_new_(const struct nv50_disp_chan_func *func, const struct nv50_disp_chan_mthd *mthd, struct nv50_disp *disp, int chid, const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) nv50_disp_ovly_new_() argument 102 nv50_disp_ovly_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nv50_disp *disp, struct nvkm_object **pobject) nv50_disp_ovly_new() argument
|
H A D | rootnv04.c | 36 struct nvkm_disp *disp; member 49 nvif_ioctl(object, "disp mthd size %d\n", size); in nv04_disp_mthd() 51 nvif_ioctl(object, "disp mthd vers %d mthd %02x head %d\n", in nv04_disp_mthd() 58 if (!(head = nvkm_head_find(root->disp, id))) in nv04_disp_mthd() 78 nv04_disp_root_new(struct nvkm_disp *disp, const struct nvkm_oclass *oclass, in nv04_disp_root_new() argument 85 root->disp = disp; in nv04_disp_root_new()
|
H A D | sorgm200.c | 29 struct nvkm_device *device = sor->disp->engine.subdev.device; in gm200_sor_dp_drive() 51 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_set() 68 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_get() 149 gm200_sor_new(struct nvkm_disp *disp, int id) in gm200_sor_new() argument 151 struct nvkm_device *device = disp->engine.subdev.device; in gm200_sor_new() 158 return nvkm_ior_new_(&gm200_sor_hda, disp, SOR, id); in gm200_sor_new() 159 return nvkm_ior_new_(&gm200_sor, disp, SOR, id); in gm200_sor_new()
|
H A D | sortu102.c | 30 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_vcpi() 40 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_links() 122 tu102_sor_new(struct nvkm_disp *disp, int id) in tu102_sor_new() argument 124 struct nvkm_device *device = disp->engine.subdev.device; in tu102_sor_new() 127 return nvkm_ior_new_(&tu102_sor_hda, disp, SOR, id); in tu102_sor_new() 128 return nvkm_ior_new_(&tu102_sor, disp, SOR, id); in tu102_sor_new()
|
H A D | head.c | 32 nvkm_head_find(struct nvkm_disp *disp, int id) in nvkm_head_find() argument 35 list_for_each_entry(head, &disp->head, head) { in nvkm_head_find() 94 struct nvkm_disp *disp, int id) in nvkm_head_new_() 100 head->disp = disp; in nvkm_head_new_() 102 list_add_tail(&head->head, &disp->head); in nvkm_head_new_() 93 nvkm_head_new_(const struct nvkm_head_func *func, struct nvkm_disp *disp, int id) nvkm_head_new_() argument
|
H A D | gp102.c | 31 gp102_disp_intr_error(struct nv50_disp *disp, int chid) in gp102_disp_intr_error() argument 33 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gp102_disp_intr_error() 42 if (chid < ARRAY_SIZE(disp->chan)) { in gp102_disp_intr_error() 45 nv50_disp_chan_mthd(disp->chan[chid], NV_DBG_ERROR); in gp102_disp_intr_error()
|
H A D | sorgp100.c | 82 gp100_sor_new(struct nvkm_disp *disp, int id) in gp100_sor_new() argument 84 struct nvkm_device *device = disp->engine.subdev.device; in gp100_sor_new() 91 return nvkm_ior_new_(&gp100_sor_hda, disp, SOR, id); in gp100_sor_new() 92 return nvkm_ior_new_(&gp100_sor, disp, SOR, id); in gp100_sor_new()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.h | 33 void zynqmp_disp_handle_vblank(struct zynqmp_disp *disp); 34 bool zynqmp_disp_audio_enabled(struct zynqmp_disp *disp); 35 unsigned int zynqmp_disp_get_audio_clk_rate(struct zynqmp_disp *disp); 36 uint32_t zynqmp_disp_get_crtc_mask(struct zynqmp_disp *disp);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | uoutp.c | 38 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi() 83 if (!ior->hda || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_hda_eld() 111 if (!nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_infoframe() 172 if (!(outp->asy.head = nvkm_head_find(outp->disp, head))) in nvkm_uoutp_mthd_acquire_tmds() 312 struct nvkm_disp *disp = outp->disp; in nvkm_uoutp_mthd() local 315 mutex_lock(&disp->super.mutex); in nvkm_uoutp_mthd() 327 mutex_unlock(&disp->super.mutex); in nvkm_uoutp_mthd() 335 struct nvkm_disp *disp = outp->disp; in nvkm_uoutp_dtor() local 352 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); nvkm_uoutp_new() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 24 #include "disp.h" 75 nv50_chan_create(struct nvif_device *device, struct nvif_object *disp, in nv50_chan_create() argument 84 ret = n = nvif_object_sclass_get(disp, &sclass); in nv50_chan_create() 91 ret = nvif_object_ctor(disp, "kmsChan", 0, in nv50_chan_create() 223 nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, in nv50_dmac_create() argument 263 if (disp->oclass < GV100_DISP) in nv50_dmac_create() 268 ret = nv50_chan_create(device, disp, oclass, head, data, size, in nv50_dmac_create() 309 struct nv50_disp *disp = nv50_disp(nv_encoder->base.base.dev); in nv50_outp_release() local 319 nvif_mthd(&disp->disp in nv50_outp_release() 328 struct nv50_disp *disp = nv50_disp(drm->dev); nv50_outp_acquire() local 534 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_dac_detect() local 733 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_audio_disable() local 763 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_audio_enable() local 799 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_hdmi_disable() local 821 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_hdmi_enable() local 1509 struct nvif_object *disp = &drm->display->disp.object; nv50_mstm_enable() local 1631 struct nv50_disp *disp = nv50_disp(nv_encoder->base.base.dev); nv50_sor_update() local 1695 struct nv50_disp *disp = nv50_disp(encoder->dev); nv50_sor_enable() local 1825 struct nv50_disp *disp = nv50_disp(connector->dev); nv50_sor_create() local 1982 struct nv50_disp *disp = nv50_disp(dev); nv50_pior_create() local 2035 struct nv50_disp *disp = nv50_disp(drm->dev); nv50_disp_atomic_commit_core() local 2090 struct nv50_disp *disp = nv50_disp(dev); nv50_disp_atomic_commit_tail() local 2623 struct nv50_disp *disp = nv50_disp(dev); nv50_display_destroy() local 2647 struct nv50_disp *disp; nv50_display_create() local [all...] |
H A D | core907d.c | 33 core907d_caps_init(struct nouveau_drm *drm, struct nv50_disp *disp) in core907d_caps_init() argument 35 struct nv50_core *core = disp->core; in core907d_caps_init() 36 struct nouveau_bo *bo = disp->sync; in core907d_caps_init() 43 ret = core507d_read_caps(disp); in core907d_caps_init()
|
/kernel/linux/linux-5.10/include/video/ |
H A D | display_timing.h | 94 display_timings *disp, in display_timings_get() 97 if (disp->num_timings > index) in display_timings_get() 98 return disp->timings[index]; in display_timings_get() 103 void display_timings_release(struct display_timings *disp); 93 display_timings_get(const struct display_timings *disp, unsigned int index) display_timings_get() argument
|
/kernel/linux/linux-6.6/include/video/ |
H A D | display_timing.h | 94 display_timings *disp, in display_timings_get() 97 if (disp->num_timings > index) in display_timings_get() 98 return disp->timings[index]; in display_timings_get() 103 void display_timings_release(struct display_timings *disp); 93 display_timings_get(const struct display_timings *disp, unsigned int index) display_timings_get() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | head.c | 23 #include <nvif/disp.h> 46 nvif_head_ctor(struct nvif_disp *disp, const char *name, int id, struct nvif_head *head) in nvif_head_ctor() argument 54 ret = nvif_object_ctor(&disp->object, name ? name : "nvifHead", id, NVIF_CLASS_HEAD, in nvif_head_ctor() 56 NVIF_ERRON(ret, &disp->object, "[NEW head id:%d]", args.id); in nvif_head_ctor()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.h | 55 void zynqmp_disp_enable(struct zynqmp_disp *disp); 56 void zynqmp_disp_disable(struct zynqmp_disp *disp); 57 int zynqmp_disp_setup_clock(struct zynqmp_disp *disp, 60 void zynqmp_disp_blend_set_global_alpha(struct zynqmp_disp *disp,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 91 .disp = nv04_disp_new, 112 .disp = nv04_disp_new, 134 .disp = nv04_disp_new, 154 .disp = nv04_disp_new, 176 .disp = nv04_disp_new, 198 .disp = nv04_disp_new, 220 .disp = nv04_disp_new, 242 .disp = nv04_disp_new, 264 .disp = nv04_disp_new, 286 .disp [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 289 struct vcpu_dispatch_data *disp; in update_vcpu_disp_stat() local 292 disp = this_cpu_ptr(&vcpu_disp_data); in update_vcpu_disp_stat() 293 if (disp->last_disp_cpu == -1) { in update_vcpu_disp_stat() 294 disp->last_disp_cpu = disp_cpu; in update_vcpu_disp_stat() 298 disp->total_disp++; in update_vcpu_disp_stat() 300 if (disp->last_disp_cpu == disp_cpu || in update_vcpu_disp_stat() 301 (cpu_first_thread_sibling(disp->last_disp_cpu) == in update_vcpu_disp_stat() 303 disp->same_cpu_disp++; in update_vcpu_disp_stat() 305 distance = cpu_relative_dispatch_distance(disp->last_disp_cpu, in update_vcpu_disp_stat() 313 disp in update_vcpu_disp_stat() 501 struct vcpu_dispatch_data *disp; vcpudispatch_stats_write() local 559 struct vcpu_dispatch_data *disp; vcpudispatch_stats_display() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | core907d.c | 33 core907d_caps_init(struct nouveau_drm *drm, struct nv50_disp *disp) in core907d_caps_init() argument 35 struct nv50_core *core = disp->core; in core907d_caps_init() 36 struct nouveau_bo *bo = disp->sync; in core907d_caps_init() 43 ret = core507d_read_caps(disp); in core907d_caps_init()
|