linux_dsm_epyc7002/drivers/gpu/drm/i915/display
Jani Nikula 667944ad77 drm/i915/hdcp: use intel_de_*() functions for register access
The implicit "dev_priv" local variable use has been a long-standing pain
point in the register access macros I915_READ(), I915_WRITE(),
POSTING_READ(), I915_READ_FW(), and I915_WRITE_FW().

Replace them with the corresponding new display engine register
accessors intel_de_read(), intel_de_write(), intel_de_posting_read(),
intel_de_read_fw(), and intel_de_write_fw().

No functional changes.

Generated using the following semantic patch:

@@
expression REG, OFFSET;
@@
- I915_READ(REG)
+ intel_de_read(dev_priv, REG)

@@
expression REG, OFFSET;
@@
- POSTING_READ(REG)
+ intel_de_posting_read(dev_priv, REG)

@@
expression REG, OFFSET;
@@
- I915_WRITE(REG, OFFSET)
+ intel_de_write(dev_priv, REG, OFFSET)

@@
expression REG;
@@
- I915_READ_FW(REG)
+ intel_de_read_fw(dev_priv, REG)

@@
expression REG, OFFSET;
@@
- I915_WRITE_FW(REG, OFFSET)
+ intel_de_write_fw(dev_priv, REG, OFFSET)

Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a58f536d25d9cd6da510da49663508cd264eee0f.1580149467.git.jani.nikula@intel.com
2020-01-29 10:46:05 +02:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c drm/i915/icl_dsi: use intel_de_*() functions for register access 2020-01-29 10:45:32 +02:00
intel_acpi.c drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
intel_acpi.h drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
intel_atomic_plane.c drm/i915/atomic: use struct drm_device logging macros 2020-01-23 15:12:50 +02:00
intel_atomic_plane.h
intel_atomic.c drm/i915/display: Squelch kerneldoc complaints 2020-01-27 10:11:56 +00:00
intel_atomic.h drm/i915/tgl: Select master transcoder for MST stream 2019-12-23 09:26:41 -08:00
intel_audio.c drm/i915/audio: use intel_de_*() functions for register access 2020-01-27 16:28:06 +02:00
intel_audio.h
intel_bios.c drm/i915/bios: Fix the timing parameters 2020-01-27 11:58:23 +02:00
intel_bios.h drm/i915/bios: add intel_bios_port_supports_*() 2020-01-21 10:51:44 +02:00
intel_bw.c drm/i915/bw: convert to drm_device based logging macros 2020-01-23 15:13:02 +02:00
intel_bw.h drm/i915/display: cleanup intel_bw_state on i915 module removal 2019-12-24 15:01:50 +05:30
intel_cdclk.c drm/i915/cdclk: use intel_de_*() functions for register access 2020-01-27 16:28:06 +02:00
intel_cdclk.h
intel_color.c drm/i915/color: use intel_de_*() functions for register access 2020-01-27 16:28:07 +02:00
intel_color.h
intel_combo_phy.c drm/i915/combo_phy: use intel_de_*() functions for register access 2020-01-29 10:45:35 +02:00
intel_combo_phy.h
intel_connector.c drm/i915: Use intel_attached_encoder() 2020-01-21 18:16:34 +02:00
intel_connector.h
intel_crt.c drm/i915/crt: use intel_de_*() functions for register access 2020-01-27 16:32:43 +02:00
intel_crt.h
intel_ddi.c drm/i915/ddi: use intel_de_*() functions for register access 2020-01-29 10:45:38 +02:00
intel_ddi.h drm/i915: Call hsw_fdi_link_train() directly() 2019-12-18 16:47:34 +02:00
intel_de.h drm/i915: add display engine uncore helpers 2020-01-23 11:07:00 +02:00
intel_display_power.c drm/i915/display_power: use intel_de_*() functions for register access 2020-01-29 10:45:56 +02:00
intel_display_power.h drm/i915: fix comment for POWER_DOMAIN_TRANSCODER_VDSC_PW2 2019-12-23 11:58:49 +02:00
intel_display_types.h drm/i915: add display engine uncore helpers 2020-01-23 11:07:00 +02:00
intel_display.c drm/i915/display: use intel_de_*() functions for register access 2020-01-29 10:45:43 +02:00
intel_display.h drm/i915/tgl: Gen-12 display can decompress surfaces compressed by the media engine 2020-01-07 13:16:49 +02:00
intel_dp_aux_backlight.c drm/i915: Don't use VBT for detecting DPCD backlight controls 2020-01-22 11:15:38 +02:00
intel_dp_aux_backlight.h
intel_dp_link_training.c
intel_dp_link_training.h
intel_dp_mst.c drm/i915/dp_mst: use intel_de_*() functions for register access 2020-01-27 16:33:18 +02:00
intel_dp_mst.h drm/i915/tgl: Select master transcoder for MST stream 2019-12-23 09:26:41 -08:00
intel_dp.c drm/i915/dp: use intel_de_*() functions for register access 2020-01-29 10:46:01 +02:00
intel_dp.h
intel_dpio_phy.c drm/i915/dpio_phy: use intel_de_*() functions for register access 2020-01-27 16:33:09 +02:00
intel_dpio_phy.h
intel_dpll_mgr.c drm/i915/dpll_mgr: use intel_de_*() functions for register access 2020-01-27 16:33:13 +02:00
intel_dpll_mgr.h
intel_dsb.c drm/i915/dsb: use intel_de_*() functions for register access 2020-01-27 16:38:04 +02:00
intel_dsb.h
intel_dsi_dcs_backlight.c drm/i915: Use intel_attached_encoder() 2020-01-21 18:16:34 +02:00
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c drm/i915/dsi: Ensure that the ACPI adapter lookup overrides the bus num 2020-01-24 14:00:56 +02:00
intel_dsi.c
intel_dsi.h drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_dvo_dev.h
intel_dvo.c drm/i915/dvo: use intel_de_*() functions for register access 2020-01-27 16:38:24 +02:00
intel_dvo.h
intel_fbc.c drm/i915/fbc: use intel_de_*() functions for register access 2020-01-27 16:38:29 +02:00
intel_fbc.h drm/i915/fbc: Move the plane state check into the fbc functions 2020-01-15 17:16:32 +02:00
intel_fbdev.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
intel_fbdev.h
intel_fifo_underrun.c drm/i915/fifo_underrun: use intel_de_*() functions for register access 2020-01-27 16:38:33 +02:00
intel_fifo_underrun.h
intel_frontbuffer.c drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
intel_frontbuffer.h drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
intel_gmbus.c drm/i915/gmbus: use intel_de_*() functions for register access 2020-01-27 17:01:37 +02:00
intel_gmbus.h
intel_hdcp.c drm/i915/hdcp: use intel_de_*() functions for register access 2020-01-29 10:46:05 +02:00
intel_hdcp.h drm/i915/hdcp: Nuke intel_hdcp_transcoder_config() 2019-12-10 12:37:53 +02:00
intel_hdmi.c drm/i915/hdmi: use intel_de_*() functions for register access 2020-01-27 17:02:00 +02:00
intel_hdmi.h drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_hotplug.c drm/i915: Prefer intel_connector over drm_connector in hotplug code 2020-01-27 15:49:39 +02:00
intel_hotplug.h
intel_lpe_audio.c drm/i915/lpe_audio: use intel_de_*() functions for register access 2020-01-27 17:02:06 +02:00
intel_lpe_audio.h
intel_lspcon.c drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_lspcon.h
intel_lvds.c drm/i915/lvds: use intel_de_*() functions for register access 2020-01-27 17:02:10 +02:00
intel_lvds.h
intel_opregion.c drm/i915/opregion: conversion to struct drm_device logging macros. 2020-01-25 16:25:00 +02:00
intel_opregion.h
intel_overlay.c drm/i915/overlay: use intel_de_*() functions for register access 2020-01-27 17:02:15 +02:00
intel_overlay.h
intel_panel.c drm/i915/panel: use intel_de_*() functions for register access 2020-01-27 17:15:53 +02:00
intel_panel.h
intel_pipe_crc.c drm/i915/pipe_crc: use intel_de_*() functions for register access 2020-01-27 19:54:03 +02:00
intel_pipe_crc.h
intel_psr.c drm/i915/psr: use intel_de_*() functions for register access 2020-01-27 19:54:35 +02:00
intel_psr.h drm/i915/display: Force the state compute phase once to enable PSR 2020-01-08 08:12:01 -08:00
intel_quirks.c
intel_quirks.h
intel_sdvo_regs.h
intel_sdvo.c drm/i915/sdvo: use intel_de_*() functions for register access 2020-01-27 17:16:00 +02:00
intel_sdvo.h
intel_sprite.c drm/i915/sprite: use intel_de_*() functions for register access 2020-01-27 19:54:42 +02:00
intel_sprite.h
intel_tc.c
intel_tc.h
intel_tv.c drm/i915/tv: use intel_de_*() functions for register access 2020-01-27 17:16:05 +02:00
intel_tv.h
intel_vbt_defs.h drm/i915/vbt: Rename BDB_LVDS_POWER to BDB_LFP_POWER 2020-01-14 12:38:59 -08:00
intel_vdsc.c drm/i915/vdsc: use intel_de_*() functions for register access 2020-01-27 19:54:49 +02:00
intel_vdsc.h drm/i915/dsc: add basic hardware state readout support 2019-12-11 08:16:16 +02:00
intel_vga.c drm/i915/vga: use intel_de_*() functions for register access 2020-01-27 17:16:10 +02:00
intel_vga.h
vlv_dsi_pll.c drm/i915/vlv_dsi_pll: use intel_de_*() functions for register access 2020-01-27 19:55:04 +02:00
vlv_dsi.c drm/i915/vlv_dsi: use intel_de_*() functions for register access 2020-01-27 19:54:57 +02:00