Commit 47aa1e73 authored by Lucas De Marchi's avatar Lucas De Marchi Committed by Rodrigo Vivi

drm/i915: move dpll_info to header

This will allow the struct to be embedded in intel_shared_dpll.
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320220637.21480-2-lucas.demarchi@intel.com
parent 57bdff48
...@@ -1877,13 +1877,6 @@ static void intel_ddi_pll_init(struct drm_device *dev) ...@@ -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 { struct intel_dpll_mgr {
const struct dpll_info *dpll_info; const struct dpll_info *dpll_info;
......
...@@ -205,6 +205,16 @@ struct intel_shared_dpll_funcs { ...@@ -205,6 +205,16 @@ struct intel_shared_dpll_funcs {
struct intel_dpll_hw_state *hw_state); 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 * struct intel_shared_dpll - display PLL with tracked state and users
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment