Home
last modified time | relevance | path

Searched refs:dmc_id (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_dmc_regs.h27 #define __PIPEDMC_REG_MMIO_BASE(i915, dmc_id) \ argument
30 0x400 * ((dmc_id) - 1))
34 #define _DMC_REG_MMIO_BASE(i915, dmc_id) \ argument
35 ((dmc_id) == DMC_FW_MAIN ? __DMC_REG_MMIO_BASE : \
36 __PIPEDMC_REG_MMIO_BASE(i915, dmc_id))
38 #define _DMC_REG(i915, dmc_id, reg) \ argument
39 ((reg) - __DMC_REG_MMIO_BASE + _DMC_REG_MMIO_BASE(i915, dmc_id))
45 #define DMC_EVT_HTP(i915, dmc_id, handler) \ argument
46 _MMIO(_DMC_REG(i915, dmc_id, _DMC_EVT_HTP_0) + 4 * (handler))
50 #define DMC_EVT_CTL(i915, dmc_id, handler) \ argument
[all …]
Dintel_dmc.c278 u8 dmc_id; member
373 static bool is_valid_dmc_id(enum intel_dmc_id dmc_id) in is_valid_dmc_id() argument
375 return dmc_id >= DMC_FW_MAIN && dmc_id < DMC_FW_MAX; in is_valid_dmc_id()
378 static bool has_dmc_id_fw(struct drm_i915_private *i915, enum intel_dmc_id dmc_id) in has_dmc_id_fw() argument
382 return dmc && dmc->dmc_info[dmc_id].payload; in has_dmc_id_fw()
422 enum intel_dmc_id dmc_id; in disable_all_event_handlers() local
428 for_each_dmc_id(dmc_id) { in disable_all_event_handlers()
431 if (!has_dmc_id_fw(i915, dmc_id)) in disable_all_event_handlers()
436 DMC_EVT_CTL(i915, dmc_id, handler), in disable_all_event_handlers()
437 DMC_EVT_HTP(i915, dmc_id, handler)); in disable_all_event_handlers()
[all …]