drm/i915: prefer 3-letter acronym for ivybridge
We are currently using a mix of platform name and acronym to name the functions. Let's prefer the acronym as it should be clear what platform it's about and it's shorter, so it doesn't go over 80 columns in a few cases. This converts ivybridge to ivb where appropriate. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Jani Nikula <jani.nikula@linux.intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191224084012.24241-9-lucas.demarchi@intel.com
This commit is contained in:
@@ -893,7 +893,7 @@ int intel_get_crtc_scanline(struct intel_crtc *crtc)
|
||||
}
|
||||
|
||||
/**
|
||||
* ivybridge_parity_work - Workqueue called when a parity error interrupt
|
||||
* ivb_parity_work - Workqueue called when a parity error interrupt
|
||||
* occurred.
|
||||
* @work: workqueue struct
|
||||
*
|
||||
@@ -901,7 +901,7 @@ int intel_get_crtc_scanline(struct intel_crtc *crtc)
|
||||
* this event, userspace should try to remap the bad rows since statistically
|
||||
* it is likely the same row is more likely to go bad again.
|
||||
*/
|
||||
static void ivybridge_parity_work(struct work_struct *work)
|
||||
static void ivb_parity_work(struct work_struct *work)
|
||||
{
|
||||
struct drm_i915_private *dev_priv =
|
||||
container_of(work, typeof(*dev_priv), l3_parity.error_work);
|
||||
@@ -3899,7 +3899,7 @@ void intel_irq_init(struct drm_i915_private *dev_priv)
|
||||
|
||||
intel_hpd_init_work(dev_priv);
|
||||
|
||||
INIT_WORK(&dev_priv->l3_parity.error_work, ivybridge_parity_work);
|
||||
INIT_WORK(&dev_priv->l3_parity.error_work, ivb_parity_work);
|
||||
for (i = 0; i < MAX_L3_SLICES; ++i)
|
||||
dev_priv->l3_parity.remap_info[i] = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user