mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
drm/i915/mchbar: include intel_mchbar_regs.h from intel_mchbar.h
As an exception to the rule of not including unnecessary headers from headers, include intel_mchbar_regs.h from intel_mchbar.h. In order to use the interfaces in intel_mchbar.h you will always have to include the registers anyway, so the includes are in pairs everywhere. There is zero asymmetry. Simplify. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/e44dc2daf3fc39d02c3f598c323caa3c08a54304.1775590536.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
102d44b3a8
commit
d54377e487
|
|
@ -20,7 +20,6 @@
|
|||
#include "intel_dram.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "intel_wm.h"
|
||||
#include "skl_watermark.h"
|
||||
#include "vlv_sideband.h"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include "intel_display_utils.h"
|
||||
#include "intel_dram.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "intel_parent.h"
|
||||
#include "skl_watermark.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@
|
|||
#include "intel_display_wa.h"
|
||||
#include "intel_dram.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "intel_parent.h"
|
||||
#include "intel_pci_config.h"
|
||||
#include "intel_plane.h"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include "intel_dmc.h"
|
||||
#include "intel_dram.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "intel_parent.h"
|
||||
#include "intel_pch_refclk.h"
|
||||
#include "intel_pmdemand.h"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
#include "intel_display_regs.h"
|
||||
#include "intel_dram.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "intel_parent.h"
|
||||
#include "vlv_sideband.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "intel_de.h"
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_mchbar.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
|
||||
static bool has_mchbar_mirror(struct intel_display *display)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include <linux/types.h>
|
||||
|
||||
#include "i915_reg_defs.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
|
||||
struct intel_display;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user