mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 17:16:41 +07:00
drm/i915: make hsw_{disable, restore}_lcpll static
These functions were added before the final PC8 implementation, and their callers moved to intel_display.c during the code review. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
6743768082
commit
6ff58d537c
@ -6157,8 +6157,8 @@ static void assert_can_disable_lcpll(struct drm_i915_private *dev_priv)
|
|||||||
* register. Callers should take care of disabling all the display engine
|
* register. Callers should take care of disabling all the display engine
|
||||||
* functions, doing the mode unset, fixing interrupts, etc.
|
* functions, doing the mode unset, fixing interrupts, etc.
|
||||||
*/
|
*/
|
||||||
void hsw_disable_lcpll(struct drm_i915_private *dev_priv,
|
static void hsw_disable_lcpll(struct drm_i915_private *dev_priv,
|
||||||
bool switch_to_fclk, bool allow_power_down)
|
bool switch_to_fclk, bool allow_power_down)
|
||||||
{
|
{
|
||||||
uint32_t val;
|
uint32_t val;
|
||||||
|
|
||||||
@ -6208,7 +6208,7 @@ void hsw_disable_lcpll(struct drm_i915_private *dev_priv,
|
|||||||
* Fully restores LCPLL, disallowing power down and switching back to LCPLL
|
* Fully restores LCPLL, disallowing power down and switching back to LCPLL
|
||||||
* source.
|
* source.
|
||||||
*/
|
*/
|
||||||
void hsw_restore_lcpll(struct drm_i915_private *dev_priv)
|
static void hsw_restore_lcpll(struct drm_i915_private *dev_priv)
|
||||||
{
|
{
|
||||||
uint32_t val;
|
uint32_t val;
|
||||||
|
|
||||||
|
@ -675,9 +675,6 @@ extern unsigned long intel_gen4_compute_page_offset(int *x, int *y,
|
|||||||
unsigned int bpp,
|
unsigned int bpp,
|
||||||
unsigned int pitch);
|
unsigned int pitch);
|
||||||
extern void intel_display_handle_reset(struct drm_device *dev);
|
extern void intel_display_handle_reset(struct drm_device *dev);
|
||||||
extern void hsw_disable_lcpll(struct drm_i915_private *dev_priv,
|
|
||||||
bool switch_to_fclk, bool allow_power_down);
|
|
||||||
extern void hsw_restore_lcpll(struct drm_i915_private *dev_priv);
|
|
||||||
extern void hsw_enable_pc8_work(struct work_struct *__work);
|
extern void hsw_enable_pc8_work(struct work_struct *__work);
|
||||||
extern void hsw_enable_package_c8(struct drm_i915_private *dev_priv);
|
extern void hsw_enable_package_c8(struct drm_i915_private *dev_priv);
|
||||||
extern void hsw_disable_package_c8(struct drm_i915_private *dev_priv);
|
extern void hsw_disable_package_c8(struct drm_i915_private *dev_priv);
|
||||||
|
Loading…
Reference in New Issue
Block a user