Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c58 struct intel_pmdemand_state *pmdemand_state; in intel_pmdemand_duplicate_state() local
60 pmdemand_state = kmemdup(obj->state, sizeof(*pmdemand_state), GFP_KERNEL); in intel_pmdemand_duplicate_state()
61 if (!pmdemand_state) in intel_pmdemand_duplicate_state()
64 return &pmdemand_state->base; in intel_pmdemand_duplicate_state()
82 struct intel_global_state *pmdemand_state = in intel_atomic_get_pmdemand_state() local
86 if (IS_ERR(pmdemand_state)) in intel_atomic_get_pmdemand_state()
87 return ERR_CAST(pmdemand_state); in intel_atomic_get_pmdemand_state()
89 return to_intel_pmdemand_state(pmdemand_state); in intel_atomic_get_pmdemand_state()
96 struct intel_global_state *pmdemand_state = in intel_atomic_get_old_pmdemand_state() local
100 if (!pmdemand_state) in intel_atomic_get_old_pmdemand_state()
[all …]
H A Dintel_pmdemand.h25 struct intel_pmdemand_state *pmdemand_state);
27 struct intel_pmdemand_state *pmdemand_state,
31 struct intel_pmdemand_state *pmdemand_state,