Skip to content

Commit 41b088a

Browse files
committed
drm/i915/display: split out intel_sprite_regs.h from i915_reg.h
Clean up i915_reg.h. v2: Drop a redundant comment (Ville) Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/679b7395a78c53006ac07448706f1809b74810de.1714128645.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <[email protected]>
1 parent 4973e63 commit 41b088a

File tree

8 files changed

+357
-341
lines changed

8 files changed

+357
-341
lines changed

drivers/gpu/drm/i915/display/intel_sprite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include "intel_fb.h"
4848
#include "intel_frontbuffer.h"
4949
#include "intel_sprite.h"
50+
#include "intel_sprite_regs.h"
5051

5152
static char sprite_name(struct drm_i915_private *i915, enum pipe pipe, int sprite)
5253
{

drivers/gpu/drm/i915/display/intel_sprite_regs.h

Lines changed: 348 additions & 0 deletions
Large diffs are not rendered by default.

drivers/gpu/drm/i915/gvt/cmd_parser.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#include "trace.h"
5151

5252
#include "display/intel_display.h"
53+
#include "display/intel_sprite_regs.h"
5354
#include "gem/i915_gem_context.h"
5455
#include "gem/i915_gem_pm.h"
5556
#include "gt/intel_context.h"

drivers/gpu/drm/i915/gvt/display.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#include "display/bxt_dpio_phy_regs.h"
4040
#include "display/intel_display.h"
4141
#include "display/intel_dpio_phy.h"
42+
#include "display/intel_sprite_regs.h"
4243

4344
static int get_edp_pipe(struct intel_vgpu *vgpu)
4445
{

drivers/gpu/drm/i915/gvt/fb_decoder.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@
3434
*/
3535

3636
#include <uapi/drm/drm_fourcc.h>
37-
#include "i915_drv.h"
37+
3838
#include "gvt.h"
39+
#include "i915_drv.h"
3940
#include "i915_pvinfo.h"
4041
#include "i915_reg.h"
4142

43+
#include "display/intel_sprite_regs.h"
44+
4245
#define PRIMARY_FORMAT_NUM 16
4346
struct pixel_format {
4447
int drm_format; /* Pixel format in DRM definition */

drivers/gpu/drm/i915/gvt/handlers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#include "display/intel_fdi_regs.h"
5151
#include "display/intel_pps_regs.h"
5252
#include "display/intel_psr_regs.h"
53+
#include "display/intel_sprite_regs.h"
5354
#include "display/skl_watermark_regs.h"
5455
#include "display/vlv_dsi_pll_regs.h"
5556
#include "gt/intel_gt_regs.h"

drivers/gpu/drm/i915/i915_reg.h

Lines changed: 0 additions & 340 deletions
Large diffs are not rendered by default.

drivers/gpu/drm/i915/intel_gvt_mmio_table.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "display/intel_fdi_regs.h"
1616
#include "display/intel_lvds_regs.h"
1717
#include "display/intel_psr_regs.h"
18+
#include "display/intel_sprite_regs.h"
1819
#include "display/skl_watermark_regs.h"
1920
#include "display/vlv_dsi_pll_regs.h"
2021
#include "gt/intel_engine_regs.h"

0 commit comments

Comments
 (0)