Skip to content

Commit 9d4e260

Browse files
committed
drm/i915/display: drop i915_reg.h include where possible
A number of files have unnecessary i915_reg.h includes. Drop them. Reviewed-by: Michał Grzelak <[email protected]> Link: https://lore.kernel.org/r/7c4002322f4d8132fd2eaa1a4d688539cdd043c3.1749469962.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <[email protected]>
1 parent fd585ee commit 9d4e260

37 files changed

+0
-37
lines changed

drivers/gpu/drm/i915/display/i9xx_display_sr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include <drm/drm_device.h>
77

8-
#include "i915_reg.h"
98
#include "i9xx_display_sr.h"
109
#include "i9xx_wm_regs.h"
1110
#include "intel_de.h"

drivers/gpu/drm/i915/display/intel_cmtg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <drm/drm_device.h>
1010
#include <drm/drm_print.h>
1111

12-
#include "i915_reg.h"
1312
#include "intel_cmtg.h"
1413
#include "intel_cmtg_regs.h"
1514
#include "intel_crtc.h"

drivers/gpu/drm/i915/display/intel_combo_phy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include <drm/drm_print.h>
77

8-
#include "i915_reg.h"
98
#include "i915_utils.h"
109
#include "intel_combo_phy.h"
1110
#include "intel_combo_phy_regs.h"

drivers/gpu/drm/i915/display/intel_crt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include <drm/drm_print.h>
3535
#include <drm/drm_probe_helper.h>
3636

37-
#include "i915_reg.h"
3837
#include "intel_connector.h"
3938
#include "intel_crt.h"
4039
#include "intel_crt_regs.h"

drivers/gpu/drm/i915/display/intel_cursor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <drm/drm_print.h>
1313
#include <drm/drm_vblank.h>
1414

15-
#include "i915_reg.h"
1615
#include "i915_utils.h"
1716
#include "intel_atomic.h"
1817
#include "intel_atomic_plane.h"

drivers/gpu/drm/i915/display/intel_cx0_phy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include <drm/drm_print.h>
1010

11-
#include "i915_reg.h"
1211
#include "i915_utils.h"
1312
#include "intel_alpm.h"
1413
#include "intel_cx0_phy.h"

drivers/gpu/drm/i915/display/intel_display_power_map.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include <drm/drm_print.h>
77

8-
#include "i915_reg.h"
98
#include "intel_display_core.h"
109
#include "intel_display_power_map.h"
1110
#include "intel_display_power_well.h"

drivers/gpu/drm/i915/display/intel_dmc_wl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <drm/drm_print.h>
99

1010
#include "i915_drv.h"
11-
#include "i915_reg.h"
1211
#include "intel_de.h"
1312
#include "intel_display_regs.h"
1413
#include "intel_dmc_regs.h"

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#include <drm/drm_probe_helper.h>
5151

5252
#include "g4x_dp.h"
53-
#include "i915_reg.h"
5453
#include "i915_utils.h"
5554
#include "intel_alpm.h"
5655
#include "intel_atomic.h"

drivers/gpu/drm/i915/display/intel_dp_aux.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include <drm/drm_print.h>
77

8-
#include "i915_reg.h"
98
#include "i915_utils.h"
109
#include "intel_de.h"
1110
#include "intel_display_types.h"

0 commit comments

Comments
 (0)