diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2021-03-19 21:42:43 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2021-03-23 16:41:19 -0700 |
commit | 7dadd28688eca3d42a7087091438fc83dd3f08cd (patch) | |
tree | 999ed2e90aef8dac5530c978c2f5676b98637702 /drivers/gpu/drm/i915/display/intel_display.c | |
parent | 005e95377249cb65133bf698926d0ab7876dddc3 (diff) | |
download | linux-7dadd28688eca3d42a7087091438fc83dd3f08cd.tar.gz linux-7dadd28688eca3d42a7087091438fc83dd3f08cd.tar.bz2 linux-7dadd28688eca3d42a7087091438fc83dd3f08cd.zip |
drm/i915: Convert INTEL_GEN() to DISPLAY_VER() as appropriate in intel_pm.c
Although most of the code in this file is display-related (watermarks),
there's some functions that are not (e.g., clock gating). Thus we need
to do the conversions to DISPLAY_VER() manually here rather than using
Coccinelle.
In the near-future we'll probably want to think about moving watermark
logic out of intel_pm.c and into watermark-specific files under the
display/ directory.
v2:
- Use new IS_DISPLAY_VER macro where appropriate.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210320044245.3920043-5-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.c')
0 files changed, 0 insertions, 0 deletions