drm/i915/pps: add bxt_ prefix to pps_reset

The pps_reset member of struct intel_pps is only relevant on
BXT/GLK. Prefix it with bxt_.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7d4552f555936be44fae27ca101007746fcff8c2.1726681620.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Jani Nikula 2024-09-18 20:47:42 +03:00
parent 0f9f8b0fb1
commit 66bdc6a61e
2 changed files with 4 additions and 4 deletions

View File

@ -1557,7 +1557,7 @@ struct intel_pps {
* Set if the sequencer may be reset due to a power transition,
* requiring a reinitialization. Only relevant on BXT+.
*/
bool pps_reset;
bool bxt_pps_reset;
struct edp_power_seq pps_delays;
struct edp_power_seq bios_pps_delays;
};

View File

@ -262,10 +262,10 @@ bxt_power_sequencer_idx(struct intel_dp *intel_dp)
/* We should never land here with regular DP ports */
drm_WARN_ON(display->drm, !intel_dp_is_edp(intel_dp));
if (!intel_dp->pps.pps_reset)
if (!intel_dp->pps.bxt_pps_reset)
return pps_idx;
intel_dp->pps.pps_reset = false;
intel_dp->pps.bxt_pps_reset = false;
/*
* Only the HW needs to be reprogrammed, the SW state is fixed and
@ -479,7 +479,7 @@ void intel_pps_reset_all(struct intel_display *display)
continue;
if (DISPLAY_VER(display) >= 9)
intel_dp->pps.pps_reset = true;
intel_dp->pps.bxt_pps_reset = true;
else
intel_dp->pps.vlv_pps_pipe = INVALID_PIPE;
}