diff options
author | Rodrigo Vivi <[email protected]> | 2017-09-26 14:13:46 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2017-09-27 08:38:14 -0700 |
commit | bd30ca2d1a98fb9bd1f6ba63438068788b9e396b (patch) | |
tree | 1b5fcc9dbe70603b71e067375059406e3489c229 /lib/mpi/mpi-cmp.c | |
parent | 516726d46d84096b006e2648d8700d1a04d021cc (diff) |
drm/i915: Avoid using dev_priv->info.gen directly.
Let's stop this usage before it spreads so much.
1. This check is not part of usual searches happening when adding
new platform.
2. There is already a duplication here with INTEL_INFO(dev_priv)->gen
and INTEL_GEN(dev_priv).
So let's please avoid yet another way.
Cc: Lyude <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Radhakrishna Sripada <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Paulo Zanoni <[email protected]>
Cc: Ville Syrjala <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Shashank Sharma <[email protected]>
Cc: Jani Nikula <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions