diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-03-21 01:45:11 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-04-26 01:37:51 -0400 |
commit | 1a6463425552a8b9960e5a19b25421895846925c (patch) | |
tree | dda4f2208f78dbc654fbfcecb97575c3cc564a7e /drivers | |
parent | b9a3140ce8fcd616b02533fbdef375a87a910daf (diff) |
drm/nv04/disp: hide all the cruft away in its own little hole
It'd be pretty awesome if someone would care enough to port this all
properly to a class interface, perhaps submitting a command stream to
the core via a sw object on PFIFO (emulating how EVO works basically,
and also what nvidia have done forever..)..
But, this seems unlikely given how old this hardware is now, so, lets
just hide it away.
There's a heap of other bits and pieces laying around that are still
tangled. I'll (re)move them in pieces.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/Makefile | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/Makefile | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/arb.c (renamed from drivers/gpu/drm/nouveau/nouveau_calc.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/crtc.c (renamed from drivers/gpu/drm/nouveau/nv04_crtc.c) | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/cursor.c (renamed from drivers/gpu/drm/nouveau/nv04_cursor.c) | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/dac.c (renamed from drivers/gpu/drm/nouveau/nv04_dac.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/dfp.c (renamed from drivers/gpu/drm/nouveau/nv04_dfp.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/disp.c (renamed from drivers/gpu/drm/nouveau/nv04_display.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/disp.h (renamed from drivers/gpu/drm/nouveau/nv04_display.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/hw.c (renamed from drivers/gpu/drm/nouveau/nouveau_hw.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/hw.h (renamed from drivers/gpu/drm/nouveau/nouveau_hw.h) | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/nvreg.h (renamed from drivers/gpu/drm/nouveau/nvreg.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c (renamed from drivers/gpu/drm/nouveau/nv17_tv_modes.c) | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/tvnv04.c (renamed from drivers/gpu/drm/nouveau/nv04_tv.c) | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/tvnv17.c (renamed from drivers/gpu/drm/nouveau/nv17_tv.c) | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/tvnv17.h (renamed from drivers/gpu/drm/nouveau/nv17_tv.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_encoder.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nv04_pm.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nv40_pm.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_pm.c | 2 |
24 files changed, 33 insertions, 28 deletions
diff --git a/drivers/gpu/drm/nouveau/Makefile b/drivers/gpu/drm/nouveau/Makefile index 0c65479c1b6f..1a8f6e9f5558 100644 --- a/drivers/gpu/drm/nouveau/Makefile +++ b/drivers/gpu/drm/nouveau/Makefile | |||
@@ -225,9 +225,7 @@ nouveau-y += nouveau_connector.o nouveau_dp.o | |||
225 | nouveau-y += nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o | 225 | nouveau-y += nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o |
226 | 226 | ||
227 | # drm/kms/nv04:nv50 | 227 | # drm/kms/nv04:nv50 |
228 | nouveau-y += nouveau_hw.o nouveau_calc.o | 228 | include $(src)/dispnv04/Makefile |
229 | nouveau-y += nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o | ||
230 | nouveau-y += nv04_crtc.o nv04_display.o nv04_cursor.o | ||
231 | 229 | ||
232 | # drm/kms/nv50- | 230 | # drm/kms/nv50- |
233 | nouveau-y += nv50_display.o | 231 | nouveau-y += nv50_display.o |
diff --git a/drivers/gpu/drm/nouveau/dispnv04/Makefile b/drivers/gpu/drm/nouveau/dispnv04/Makefile new file mode 100644 index 000000000000..ea3f5b8a0f95 --- /dev/null +++ b/drivers/gpu/drm/nouveau/dispnv04/Makefile | |||
@@ -0,0 +1,10 @@ | |||
1 | nouveau-y += dispnv04/arb.o | ||
2 | nouveau-y += dispnv04/crtc.o | ||
3 | nouveau-y += dispnv04/cursor.o | ||
4 | nouveau-y += dispnv04/dac.o | ||
5 | nouveau-y += dispnv04/dfp.o | ||
6 | nouveau-y += dispnv04/disp.o | ||
7 | nouveau-y += dispnv04/hw.o | ||
8 | nouveau-y += dispnv04/tvmodesnv17.o | ||
9 | nouveau-y += dispnv04/tvnv04.o | ||
10 | nouveau-y += dispnv04/tvnv17.o | ||
diff --git a/drivers/gpu/drm/nouveau/nouveau_calc.c b/drivers/gpu/drm/nouveau/dispnv04/arb.c index 6da576445b3d..2e70462883e8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_calc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/arb.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "nouveau_drm.h" | 26 | #include "nouveau_drm.h" |
27 | #include "nouveau_reg.h" | 27 | #include "nouveau_reg.h" |
28 | #include "nouveau_hw.h" | 28 | #include "hw.h" |
29 | 29 | ||
30 | /****************************************************************************\ | 30 | /****************************************************************************\ |
31 | * * | 31 | * * |
diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/dispnv04/crtc.c index 6578cd28c556..0782bd2f1e04 100644 --- a/drivers/gpu/drm/nouveau/nv04_crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c | |||
@@ -33,10 +33,10 @@ | |||
33 | #include "nouveau_encoder.h" | 33 | #include "nouveau_encoder.h" |
34 | #include "nouveau_connector.h" | 34 | #include "nouveau_connector.h" |
35 | #include "nouveau_crtc.h" | 35 | #include "nouveau_crtc.h" |
36 | #include "nouveau_hw.h" | 36 | #include "hw.h" |
37 | #include "nvreg.h" | 37 | #include "nvreg.h" |
38 | #include "nouveau_fbcon.h" | 38 | #include "nouveau_fbcon.h" |
39 | #include "nv04_display.h" | 39 | #include "disp.h" |
40 | 40 | ||
41 | #include <subdev/bios/pll.h> | 41 | #include <subdev/bios/pll.h> |
42 | #include <subdev/clock.h> | 42 | #include <subdev/clock.h> |
@@ -1070,4 +1070,3 @@ nv04_crtc_create(struct drm_device *dev, int crtc_num) | |||
1070 | 1070 | ||
1071 | return 0; | 1071 | return 0; |
1072 | } | 1072 | } |
1073 | |||
diff --git a/drivers/gpu/drm/nouveau/nv04_cursor.c b/drivers/gpu/drm/nouveau/dispnv04/cursor.c index fe86f0de348f..a810303169de 100644 --- a/drivers/gpu/drm/nouveau/nv04_cursor.c +++ b/drivers/gpu/drm/nouveau/dispnv04/cursor.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include "nouveau_drm.h" | 3 | #include "nouveau_drm.h" |
4 | #include "nouveau_reg.h" | 4 | #include "nouveau_reg.h" |
5 | #include "nouveau_crtc.h" | 5 | #include "nouveau_crtc.h" |
6 | #include "nouveau_hw.h" | 6 | #include "hw.h" |
7 | 7 | ||
8 | static void | 8 | static void |
9 | nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) | 9 | nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) |
@@ -68,4 +68,3 @@ nv04_cursor_init(struct nouveau_crtc *crtc) | |||
68 | crtc->cursor.show = nv04_cursor_show; | 68 | crtc->cursor.show = nv04_cursor_show; |
69 | return 0; | 69 | return 0; |
70 | } | 70 | } |
71 | |||
diff --git a/drivers/gpu/drm/nouveau/nv04_dac.c b/drivers/gpu/drm/nouveau/dispnv04/dac.c index 64f7020fb605..434b920f6bd4 100644 --- a/drivers/gpu/drm/nouveau/nv04_dac.c +++ b/drivers/gpu/drm/nouveau/dispnv04/dac.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "nouveau_encoder.h" | 31 | #include "nouveau_encoder.h" |
32 | #include "nouveau_connector.h" | 32 | #include "nouveau_connector.h" |
33 | #include "nouveau_crtc.h" | 33 | #include "nouveau_crtc.h" |
34 | #include "nouveau_hw.h" | 34 | #include "hw.h" |
35 | #include "nvreg.h" | 35 | #include "nvreg.h" |
36 | 36 | ||
37 | #include <subdev/bios/gpio.h> | 37 | #include <subdev/bios/gpio.h> |
diff --git a/drivers/gpu/drm/nouveau/nv04_dfp.c b/drivers/gpu/drm/nouveau/dispnv04/dfp.c index 7e24cdf1cb39..93dd23ff0093 100644 --- a/drivers/gpu/drm/nouveau/nv04_dfp.c +++ b/drivers/gpu/drm/nouveau/dispnv04/dfp.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "nouveau_encoder.h" | 32 | #include "nouveau_encoder.h" |
33 | #include "nouveau_connector.h" | 33 | #include "nouveau_connector.h" |
34 | #include "nouveau_crtc.h" | 34 | #include "nouveau_crtc.h" |
35 | #include "nouveau_hw.h" | 35 | #include "hw.h" |
36 | #include "nvreg.h" | 36 | #include "nvreg.h" |
37 | 37 | ||
38 | #include <drm/i2c/sil164.h> | 38 | #include <drm/i2c/sil164.h> |
diff --git a/drivers/gpu/drm/nouveau/nv04_display.c b/drivers/gpu/drm/nouveau/dispnv04/disp.c index ad48444c385c..4908d3fd0486 100644 --- a/drivers/gpu/drm/nouveau/nv04_display.c +++ b/drivers/gpu/drm/nouveau/dispnv04/disp.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include "nouveau_drm.h" | 31 | #include "nouveau_drm.h" |
32 | #include "nouveau_reg.h" | 32 | #include "nouveau_reg.h" |
33 | #include "nouveau_hw.h" | 33 | #include "hw.h" |
34 | #include "nouveau_encoder.h" | 34 | #include "nouveau_encoder.h" |
35 | #include "nouveau_connector.h" | 35 | #include "nouveau_connector.h" |
36 | 36 | ||
diff --git a/drivers/gpu/drm/nouveau/nv04_display.h b/drivers/gpu/drm/nouveau/dispnv04/disp.h index a0a031dad13f..a0a031dad13f 100644 --- a/drivers/gpu/drm/nouveau/nv04_display.h +++ b/drivers/gpu/drm/nouveau/dispnv04/disp.h | |||
diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c b/drivers/gpu/drm/nouveau/dispnv04/hw.c index 617a06ffdb46..973056b86207 100644 --- a/drivers/gpu/drm/nouveau/nouveau_hw.c +++ b/drivers/gpu/drm/nouveau/dispnv04/hw.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <drm/drmP.h> | 25 | #include <drm/drmP.h> |
26 | #include "nouveau_drm.h" | 26 | #include "nouveau_drm.h" |
27 | #include "nouveau_hw.h" | 27 | #include "hw.h" |
28 | 28 | ||
29 | #include <subdev/bios/pll.h> | 29 | #include <subdev/bios/pll.h> |
30 | #include <subdev/clock.h> | 30 | #include <subdev/clock.h> |
diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.h b/drivers/gpu/drm/nouveau/dispnv04/hw.h index 7dff1021fab4..eeb70d912d99 100644 --- a/drivers/gpu/drm/nouveau/nouveau_hw.h +++ b/drivers/gpu/drm/nouveau/dispnv04/hw.h | |||
@@ -24,7 +24,8 @@ | |||
24 | #define __NOUVEAU_HW_H__ | 24 | #define __NOUVEAU_HW_H__ |
25 | 25 | ||
26 | #include <drm/drmP.h> | 26 | #include <drm/drmP.h> |
27 | #include "nv04_display.h" | 27 | #include "disp.h" |
28 | #include "nvreg.h" | ||
28 | 29 | ||
29 | #include <subdev/bios/pll.h> | 30 | #include <subdev/bios/pll.h> |
30 | 31 | ||
diff --git a/drivers/gpu/drm/nouveau/nvreg.h b/drivers/gpu/drm/nouveau/dispnv04/nvreg.h index bbfb1a68fb11..bbfb1a68fb11 100644 --- a/drivers/gpu/drm/nouveau/nvreg.h +++ b/drivers/gpu/drm/nouveau/dispnv04/nvreg.h | |||
diff --git a/drivers/gpu/drm/nouveau/nv17_tv_modes.c b/drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c index 1cdfe2a5875d..08c6f5e50610 100644 --- a/drivers/gpu/drm/nouveau/nv17_tv_modes.c +++ b/drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c | |||
@@ -29,8 +29,8 @@ | |||
29 | #include "nouveau_drm.h" | 29 | #include "nouveau_drm.h" |
30 | #include "nouveau_encoder.h" | 30 | #include "nouveau_encoder.h" |
31 | #include "nouveau_crtc.h" | 31 | #include "nouveau_crtc.h" |
32 | #include "nouveau_hw.h" | 32 | #include "hw.h" |
33 | #include "nv17_tv.h" | 33 | #include "tvnv17.h" |
34 | 34 | ||
35 | char *nv17_tv_norm_names[NUM_TV_NORMS] = { | 35 | char *nv17_tv_norm_names[NUM_TV_NORMS] = { |
36 | [TV_NORM_PAL] = "PAL", | 36 | [TV_NORM_PAL] = "PAL", |
diff --git a/drivers/gpu/drm/nouveau/nv04_tv.c b/drivers/gpu/drm/nouveau/dispnv04/tvnv04.c index 4a69ccdef9b4..bf13db4e8631 100644 --- a/drivers/gpu/drm/nouveau/nv04_tv.c +++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv04.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "nouveau_encoder.h" | 30 | #include "nouveau_encoder.h" |
31 | #include "nouveau_connector.h" | 31 | #include "nouveau_connector.h" |
32 | #include "nouveau_crtc.h" | 32 | #include "nouveau_crtc.h" |
33 | #include "nouveau_hw.h" | 33 | #include "hw.h" |
34 | #include <drm/drm_crtc_helper.h> | 34 | #include <drm/drm_crtc_helper.h> |
35 | 35 | ||
36 | #include <drm/i2c/ch7006.h> | 36 | #include <drm/i2c/ch7006.h> |
diff --git a/drivers/gpu/drm/nouveau/nv17_tv.c b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c index 977e42be2050..acef48f4a4ea 100644 --- a/drivers/gpu/drm/nouveau/nv17_tv.c +++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | |||
@@ -31,8 +31,8 @@ | |||
31 | #include "nouveau_encoder.h" | 31 | #include "nouveau_encoder.h" |
32 | #include "nouveau_connector.h" | 32 | #include "nouveau_connector.h" |
33 | #include "nouveau_crtc.h" | 33 | #include "nouveau_crtc.h" |
34 | #include "nouveau_hw.h" | 34 | #include "hw.h" |
35 | #include "nv17_tv.h" | 35 | #include "tvnv17.h" |
36 | 36 | ||
37 | #include <core/device.h> | 37 | #include <core/device.h> |
38 | 38 | ||
diff --git a/drivers/gpu/drm/nouveau/nv17_tv.h b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h index 7b331543a41b..7b331543a41b 100644 --- a/drivers/gpu/drm/nouveau/nv17_tv.h +++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.h | |||
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 50a6dd02f7c5..6aa2137e093a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "nouveau_drm.h" | 29 | #include "nouveau_drm.h" |
30 | #include "nouveau_reg.h" | 30 | #include "nouveau_reg.h" |
31 | #include "nouveau_hw.h" | 31 | #include "dispnv04/hw.h" |
32 | #include "nouveau_encoder.h" | 32 | #include "nouveau_encoder.h" |
33 | 33 | ||
34 | #include <linux/io-mapping.h> | 34 | #include <linux/io-mapping.h> |
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.h b/drivers/gpu/drm/nouveau/nouveau_bios.h index 7ccd28f11adf..0067586eb015 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.h +++ b/drivers/gpu/drm/nouveau/nouveau_bios.h | |||
@@ -24,8 +24,6 @@ | |||
24 | #ifndef __NOUVEAU_DISPBIOS_H__ | 24 | #ifndef __NOUVEAU_DISPBIOS_H__ |
25 | #define __NOUVEAU_DISPBIOS_H__ | 25 | #define __NOUVEAU_DISPBIOS_H__ |
26 | 26 | ||
27 | #include "nvreg.h" | ||
28 | |||
29 | #define DCB_MAX_NUM_ENTRIES 16 | 27 | #define DCB_MAX_NUM_ENTRIES 16 |
30 | #define DCB_MAX_NUM_I2C_ENTRIES 16 | 28 | #define DCB_MAX_NUM_I2C_ENTRIES 16 |
31 | #define DCB_MAX_NUM_GPIO_ENTRIES 32 | 29 | #define DCB_MAX_NUM_GPIO_ENTRIES 32 |
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 4dd7ae2ac6c6..4da776f344d7 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include "nouveau_reg.h" | 33 | #include "nouveau_reg.h" |
34 | #include "nouveau_drm.h" | 34 | #include "nouveau_drm.h" |
35 | #include "nouveau_hw.h" | 35 | #include "dispnv04/hw.h" |
36 | #include "nouveau_acpi.h" | 36 | #include "nouveau_acpi.h" |
37 | 37 | ||
38 | #include "nouveau_display.h" | 38 | #include "nouveau_display.h" |
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 4610c3a29bbe..7bf22d4a3d96 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <drm/drm_crtc_helper.h> | 28 | #include <drm/drm_crtc_helper.h> |
29 | 29 | ||
30 | #include "nouveau_fbcon.h" | 30 | #include "nouveau_fbcon.h" |
31 | #include "nouveau_hw.h" | 31 | #include "dispnv04/hw.h" |
32 | #include "nouveau_crtc.h" | 32 | #include "nouveau_crtc.h" |
33 | #include "nouveau_dma.h" | 33 | #include "nouveau_dma.h" |
34 | #include "nouveau_gem.h" | 34 | #include "nouveau_gem.h" |
diff --git a/drivers/gpu/drm/nouveau/nouveau_encoder.h b/drivers/gpu/drm/nouveau/nouveau_encoder.h index e24341229d5e..24660c0f713d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_encoder.h +++ b/drivers/gpu/drm/nouveau/nouveau_encoder.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <subdev/bios/dcb.h> | 30 | #include <subdev/bios/dcb.h> |
31 | 31 | ||
32 | #include <drm/drm_encoder_slave.h> | 32 | #include <drm/drm_encoder_slave.h> |
33 | #include "nv04_display.h" | 33 | #include "dispnv04/disp.h" |
34 | 34 | ||
35 | #define NV_DPMS_CLEARED 0x80 | 35 | #define NV_DPMS_CLEARED 0x80 |
36 | 36 | ||
diff --git a/drivers/gpu/drm/nouveau/nv04_pm.c b/drivers/gpu/drm/nouveau/nv04_pm.c index 2a0cc9d0614a..27afc0ea28b0 100644 --- a/drivers/gpu/drm/nouveau/nv04_pm.c +++ b/drivers/gpu/drm/nouveau/nv04_pm.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <drm/drmP.h> | 25 | #include <drm/drmP.h> |
26 | #include "nouveau_drm.h" | 26 | #include "nouveau_drm.h" |
27 | #include "nouveau_reg.h" | 27 | #include "nouveau_reg.h" |
28 | #include "nouveau_hw.h" | 28 | #include "dispnv04/hw.h" |
29 | #include "nouveau_pm.h" | 29 | #include "nouveau_pm.h" |
30 | 30 | ||
31 | #include <subdev/bios/pll.h> | 31 | #include <subdev/bios/pll.h> |
diff --git a/drivers/gpu/drm/nouveau/nv40_pm.c b/drivers/gpu/drm/nouveau/nv40_pm.c index 3382064c7f33..3af5bcd0b203 100644 --- a/drivers/gpu/drm/nouveau/nv40_pm.c +++ b/drivers/gpu/drm/nouveau/nv40_pm.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "nouveau_drm.h" | 26 | #include "nouveau_drm.h" |
27 | #include "nouveau_bios.h" | 27 | #include "nouveau_bios.h" |
28 | #include "nouveau_pm.h" | 28 | #include "nouveau_pm.h" |
29 | #include "nouveau_hw.h" | 29 | #include "dispnv04/hw.h" |
30 | 30 | ||
31 | #include <subdev/bios/pll.h> | 31 | #include <subdev/bios/pll.h> |
32 | #include <subdev/clock.h> | 32 | #include <subdev/clock.h> |
diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c b/drivers/gpu/drm/nouveau/nv50_pm.c index 8bd5d2781baf..69620e39c90c 100644 --- a/drivers/gpu/drm/nouveau/nv50_pm.c +++ b/drivers/gpu/drm/nouveau/nv50_pm.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <drm/drmP.h> | 25 | #include <drm/drmP.h> |
26 | #include "nouveau_drm.h" | 26 | #include "nouveau_drm.h" |
27 | #include "nouveau_bios.h" | 27 | #include "nouveau_bios.h" |
28 | #include "nouveau_hw.h" | 28 | #include "dispnv04/hw.h" |
29 | #include "nouveau_pm.h" | 29 | #include "nouveau_pm.h" |
30 | #include "nouveau_hwsq.h" | 30 | #include "nouveau_hwsq.h" |
31 | 31 | ||