Skip to content

Commit 7ff89ca

Browse files
committed
drm/i915: Move most cdclk/rawclk related code to intel_cdclk.c
Let's try to shrink intel_display.c a bit by moving the cdclk/rawclk stuff to a new file. It's all reasonably self contained so we don't even have to add that many non-static symbols. We'll also take the opportunity to shuffle around the functions a bit to get things in a more consistent order based on the platform. v2: Add kernel-docs (Ander) v3: Deal with IS_GEN9_BC() v4: Deal with i945gm_get_cdclk() Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Ander Conselvan de Oliveira <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 4717e8b commit 7ff89ca

File tree

5 files changed

+2036
-1914
lines changed

5 files changed

+2036
-1914
lines changed

Documentation/gpu/i915.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ Video BIOS Table (VBT)
213213
.. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h
214214
:internal:
215215

216+
Display clocks
217+
--------------
218+
219+
.. kernel-doc:: drivers/gpu/drm/i915/intel_cdclk.c
220+
:doc: CDCLK / RAWCLK
221+
222+
.. kernel-doc:: drivers/gpu/drm/i915/intel_cdclk.c
223+
:internal:
224+
216225
Display PLLs
217226
------------
218227

drivers/gpu/drm/i915/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ i915-y += intel_audio.o \
7272
intel_atomic.o \
7373
intel_atomic_plane.o \
7474
intel_bios.o \
75+
intel_cdclk.o \
7576
intel_color.o \
7677
intel_display.o \
7778
intel_dpio_phy.o \

0 commit comments

Comments
 (0)