mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
drm/i915/dpt: remove display/intel_dpt.h
The remaining functions declared in intel_dpt.h are i915 specific, and so are the users, so we can move them to i915_dpt.h. There are some useless intel_dpt.h includes around that we can remove. Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://patch.msgid.link/de16eddbb49110b56ff44899d9498e3081da91fa.1772030909.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -84,7 +84,6 @@
|
||||
#include "intel_dp_tunnel.h"
|
||||
#include "intel_dpll.h"
|
||||
#include "intel_dpll_mgr.h"
|
||||
#include "intel_dpt.h"
|
||||
#include "intel_dpt_common.h"
|
||||
#include "intel_drrs.h"
|
||||
#include "intel_dsb.h"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
/*
|
||||
* Copyright © 2021 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef __INTEL_DPT_H__
|
||||
#define __INTEL_DPT_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct i915_address_space;
|
||||
struct i915_vma;
|
||||
|
||||
struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
|
||||
unsigned int alignment);
|
||||
void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
|
||||
u64 intel_dpt_offset(struct i915_vma *dpt_vma);
|
||||
|
||||
#endif /* __INTEL_DPT_H__ */
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "intel_display_core.h"
|
||||
#include "intel_display_rpm.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpt.h"
|
||||
#include "i915_dpt.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_fb_pin.h"
|
||||
#include "intel_plane.h"
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include "intel_display_regs.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_display_utils.h"
|
||||
#include "intel_dpt.h"
|
||||
#include "intel_fb.h"
|
||||
#include "intel_fbc.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
#include "display/intel_display_core.h"
|
||||
#include "display/intel_display_rpm.h"
|
||||
#include "display/intel_dpt.h"
|
||||
#include "gem/i915_gem_domain.h"
|
||||
#include "gem/i915_gem_internal.h"
|
||||
#include "gem/i915_gem_lmem.h"
|
||||
#include "gt/gen8_ppgtt.h"
|
||||
|
||||
#include "i915_dpt.h"
|
||||
#include "i915_drv.h"
|
||||
|
||||
struct i915_dpt {
|
||||
|
||||
@@ -4,6 +4,16 @@
|
||||
#ifndef __I915_DPT_H__
|
||||
#define __I915_DPT_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct i915_address_space;
|
||||
struct i915_vma;
|
||||
|
||||
struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
|
||||
unsigned int alignment);
|
||||
void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
|
||||
u64 intel_dpt_offset(struct i915_vma *dpt_vma);
|
||||
|
||||
extern const struct intel_display_dpt_interface i915_display_dpt_interface;
|
||||
|
||||
#endif /* __I915_DPT_H__ */
|
||||
|
||||
Reference in New Issue
Block a user