提交 47aa1e73 编写于 作者: L Lucas De Marchi 提交者: Rodrigo Vivi

drm/i915: move dpll_info to header

This will allow the struct to be embedded in intel_shared_dpll.
Signed-off-by: NLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320220637.21480-2-lucas.demarchi@intel.com
上级 57bdff48
......@@ -1877,13 +1877,6 @@ static void intel_ddi_pll_init(struct drm_device *dev)
}
}
struct dpll_info {
const char *name;
const int id;
const struct intel_shared_dpll_funcs *funcs;
uint32_t flags;
};
struct intel_dpll_mgr {
const struct dpll_info *dpll_info;
......
......@@ -205,6 +205,16 @@ struct intel_shared_dpll_funcs {
struct intel_dpll_hw_state *hw_state);
};
/**
* struct dpll_info - display PLL platform specific info
*/
struct dpll_info {
const char *name;
const int id;
const struct intel_shared_dpll_funcs *funcs;
uint32_t flags;
};
/**
* struct intel_shared_dpll - display PLL with tracked state and users
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册