Home
last modified time | relevance | path

Searched refs:fbc (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_fbc.c64 for_each_if((__fbc) = (__dev_priv)->display.fbc[(__fbc_id)])
67 void (*activate)(struct intel_fbc *fbc);
68 void (*deactivate)(struct intel_fbc *fbc);
69 bool (*is_active)(struct intel_fbc *fbc);
70 bool (*is_compressing)(struct intel_fbc *fbc);
71 void (*nuke)(struct intel_fbc *fbc);
72 void (*program_cfb)(struct intel_fbc *fbc);
73 void (*set_false_color)(struct intel_fbc *fbc, bool enable);
226 static u32 i8xx_fbc_ctl(struct intel_fbc *fbc) in i8xx_fbc_ctl() argument
228 const struct intel_fbc_state *fbc_state = &fbc->state; in i8xx_fbc_ctl()
[all …]
Dintel_wm_types.h28 u16 fbc; member
34 u16 fbc; member
Di9xx_wm.c726 FW_WM(wm->sr.fbc, FBC_SR) | in g4x_write_wm_values()
727 FW_WM(wm->hpll.fbc, FBC_HPLL_SR) | in g4x_write_wm_values()
957 dirty |= raw->fbc != value; in g4x_raw_fbc_wm_set()
958 raw->fbc = value; in g4x_raw_fbc_wm_set()
1012 dirty |= raw->fbc != wm; in g4x_raw_plane_wm_compute()
1013 raw->fbc = wm; in g4x_raw_plane_wm_compute()
1034 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_SR].fbc, in g4x_raw_plane_wm_compute()
1035 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_HPLL].fbc); in g4x_raw_plane_wm_compute()
1077 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms()
1084 wm_state->hpll.fbc = USHRT_MAX; in g4x_invalidate_wms()
[all …]
Dintel_fbc.h43 void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane);
Dintel_display_trace.h208 __field(bool, fbc)
221 __entry->sr_fbc = wm->sr.fbc;
224 __entry->hpll_fbc = wm->hpll.fbc;
227 __entry->fbc = wm->fbc_en;
236 str_yes_no(__entry->fbc))
Dintel_display_core.h515 struct intel_fbc *fbc[I915_MAX_FBCS]; member
/linux-6.6.21/include/linux/
Dpercpu_counter.h33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount,
37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \ argument
41 __percpu_counter_init_many(fbc, value, gfp, nr_counters,\
46 #define percpu_counter_init(fbc, value, gfp) \ argument
47 percpu_counter_init_many(fbc, value, gfp, 1)
49 void percpu_counter_destroy_many(struct percpu_counter *fbc, u32 nr_counters);
50 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy() argument
52 percpu_counter_destroy_many(fbc, 1); in percpu_counter_destroy()
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
56 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
[all …]
/linux-6.6.21/lib/
Dpercpu_counter.c24 struct percpu_counter *fbc = addr; in percpu_counter_fixup_free() local
28 percpu_counter_destroy(fbc); in percpu_counter_fixup_free()
29 debug_object_free(fbc, &percpu_counter_debug_descr); in percpu_counter_fixup_free()
41 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate() argument
43 debug_object_init(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_activate()
44 debug_object_activate(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_activate()
47 static inline void debug_percpu_counter_deactivate(struct percpu_counter *fbc) in debug_percpu_counter_deactivate() argument
49 debug_object_deactivate(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_deactivate()
50 debug_object_free(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_deactivate()
54 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate() argument
[all …]
/linux-6.6.21/drivers/video/fbdev/
Dcg6.c259 struct cg6_fbc __iomem *fbc; member
273 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_sync() local
277 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
321 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_fillrect() local
331 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
332 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
333 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
334 sbus_writel(0, &fbc->s); in cg6_fillrect()
335 sbus_writel(0, &fbc->clip); in cg6_fillrect()
336 sbus_writel(~(u32)0, &fbc->pm); in cg6_fillrect()
[all …]
Dffb.c243 u32 fbc; member
355 struct ffb_fbc __iomem *fbc; member
379 struct ffb_fbc __iomem *fbc; in FFBFifo() local
383 fbc = par->fbc; in FFBFifo()
385 cache = (upa_readl(&fbc->ucsr) & FFB_UCSR_FIFO_MASK); in FFBFifo()
394 struct ffb_fbc __iomem *fbc; in FFBWait() local
397 fbc = par->fbc; in FFBWait()
399 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_BUSY) == 0) in FFBWait()
401 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_ERRORS) != 0) { in FFBWait()
402 upa_writel(FFB_UCSR_ALL_ERRORS, &fbc->ucsr); in FFBWait()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h52 struct mlx5_frag_buf_ctrl fbc; member
65 struct mlx5_frag_buf_ctrl fbc; member
71 struct mlx5_frag_buf_ctrl fbc; member
102 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_cyc_get_size()
144 return ctr & wq->fbc.sz_m1; in mlx5_wq_cyc_ctr2ix()
159 return mlx5_frag_buf_get_wqe(&wq->fbc, ix); in mlx5_wq_cyc_get_wqe()
164 return mlx5_frag_buf_get_idx_last_contig_stride(&wq->fbc, ix) - ix + 1; in mlx5_wq_cyc_get_contig_wqebbs()
182 return wq->fbc.sz_m1 + 1; in mlx5_cqwq_get_size()
187 return wq->fbc.log_stride; in mlx5_cqwq_get_log_stride_size()
192 return ctr & wq->fbc.sz_m1; in mlx5_cqwq_ctr2ix()
[all …]
Dwq.c43 struct mlx5_frag_buf_ctrl *fbc = &wq->fbc; in mlx5_wq_cyc_create() local
61 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
84 len = nstrides << wq->fbc.log_stride; in mlx5_wq_cyc_wqe_dump()
128 mlx5_init_fbc(wq_ctrl->buf.frags, log_rq_stride, log_rq_sz, &wq->rq.fbc); in mlx5_wq_qp_create()
138 &wq->sq.fbc); in mlx5_wq_qp_create()
143 log_sq_stride, log_sq_sz, &wq->sq.fbc); in mlx5_wq_qp_create()
185 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, &wq->fbc); in mlx5_cqwq_create()
202 for (i = 0; i < wq->fbc.sz_m1; i++) { in mlx5_wq_ll_init_list()
216 struct mlx5_frag_buf_ctrl *fbc = &wq->fbc; in mlx5_wq_ll_create() local
234 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_ll_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h25 struct mlx5_frag_buf_ctrl fbc; member
53 return eq->fbc.sz_m1 + 1; in eq_get_size()
58 return mlx5_frag_buf_get_wqe(&eq->fbc, entry); in get_eqe()
63 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & eq->fbc.sz_m1); in next_eqe_sw()
65 return (eqe->owner ^ (eq->cons_index >> eq->fbc.log_sz)) & 1 ? NULL : eqe; in next_eqe_sw()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h936 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset() argument
938 fbc->frags = frags; in mlx5_init_fbc_offset()
939 fbc->log_stride = log_stride; in mlx5_init_fbc_offset()
940 fbc->log_sz = log_sz; in mlx5_init_fbc_offset()
941 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset()
942 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset()
943 fbc->frag_sz_m1 = (1 << fbc->log_frag_strides) - 1; in mlx5_init_fbc_offset()
944 fbc->strides_offset = strides_offset; in mlx5_init_fbc_offset()
949 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc() argument
951 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); in mlx5_init_fbc()
[all …]
/linux-6.6.21/drivers/gpu/drm/ci/
Dtestlist.txt1238 kms_fbcon_fbt@fbc
1240 kms_fbcon_fbt@fbc-suspend
1385 kms_frontbuffer_tracking@fbc-1p-rte
1386 kms_frontbuffer_tracking@fbc-2p-rte
1399 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-cpu
1400 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-gtt
1401 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc
1402 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-pwrite
1403 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt
1404 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render
[all …]
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dwr.h38 (&sq->fbc, in get_sq_edge()
39 mlx5_frag_buf_get_idx_last_contig_stride(&sq->fbc, idx)); in get_sq_edge()
62 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx); in handle_post_send_edge()
Dsrq.c15 return mlx5_frag_buf_get_wqe(&srq->fbc, n); in get_wqe()
126 &srq->fbc); in create_srq_kernel()
Dmem.c119 ctrl = mlx5_frag_buf_get_wqe(&qp->sq.fbc, idx); in post_send_nop()
Dcq.c71 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe()
685 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
873 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf()
1237 dcqe = mlx5_frag_buf_get_wqe(&cq->resize_buf->fbc, in copy_resize_cqes()
/linux-6.6.21/drivers/gpu/drm/ci/xfails/
Di915-whl-fails.txt10 kms_fbcon_fbt@fbc,Fail
11 kms_fbcon_fbt@fbc-suspend,Fail
35 kms_frontbuffer_tracking@fbc-tiling-linear,Fail
Di915-apl-flakes.txt1 kms_frontbuffer_tracking@fbc-tiling-linear
Di915-glk-fails.txt1 kms_fbcon_fbt@fbc,Fail
Di915-glk-flakes.txt24 kms_frontbuffer_tracking@fbc-tiling-linear
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.h110 struct mlx5_frag_buf_ctrl fbc; member
143 struct mlx5_frag_buf_ctrl fbc; member
Dcmd.c868 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
881 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf()
1046 mlx5_init_fbc(qp->buf.frags, log_rq_stride, log_rq_sz, &qp->rq.fbc); in mlx5vf_create_rc_qp()
1109 data = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ix); in mlx5vf_post_recv()
1521 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe()

12