mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
drm/i915/wm: move struct intel_watermark_params to i9xx_wm.c
The definition is only used within i9xx_wm.c, hide it there. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/d7408290c909eb67fc7a935469a3c6287b58587d.1724689818.git.jani.nikula@intel.com
This commit is contained in:
parent
c4d37c54c3
commit
4e66f73ee0
|
|
@ -14,6 +14,14 @@
|
|||
#include "skl_watermark.h"
|
||||
#include "vlv_sideband.h"
|
||||
|
||||
struct intel_watermark_params {
|
||||
u16 fifo_size;
|
||||
u16 max_wm;
|
||||
u8 default_wm;
|
||||
u8 guard_size;
|
||||
u8 cacheline_size;
|
||||
};
|
||||
|
||||
/* used in computing the new watermarks state */
|
||||
struct intel_wm_config {
|
||||
unsigned int num_pipes_active;
|
||||
|
|
|
|||
|
|
@ -1601,14 +1601,6 @@ struct intel_plane {
|
|||
void (*disable_flip_done)(struct intel_plane *plane);
|
||||
};
|
||||
|
||||
struct intel_watermark_params {
|
||||
u16 fifo_size;
|
||||
u16 max_wm;
|
||||
u8 default_wm;
|
||||
u8 guard_size;
|
||||
u8 cacheline_size;
|
||||
};
|
||||
|
||||
#define to_intel_atomic_state(x) container_of(x, struct intel_atomic_state, base)
|
||||
#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
|
||||
#define to_intel_connector(x) container_of(x, struct intel_connector, base)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user