Skip to content

Commit a55ecbe

Browse files
Damien Lespiaudanvet
authored andcommitted
drm/i915: Make intel_format_to_fourcc() static
v2: Fix conflict caused by the introduction of struct intel_crtc_state Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent 2844a92 commit a55ecbe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ unsigned long intel_gen4_compute_page_offset(int *x, int *y,
23162316
}
23172317
}
23182318

2319-
int intel_format_to_fourcc(int format)
2319+
static int intel_format_to_fourcc(int format)
23202320
{
23212321
switch (format) {
23222322
case DISPPLANE_8BPP:

drivers/gpu/drm/i915/intel_drv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,6 @@ enum intel_display_power_domain
991991
intel_display_port_power_domain(struct intel_encoder *intel_encoder);
992992
void intel_mode_from_pipe_config(struct drm_display_mode *mode,
993993
struct intel_crtc_state *pipe_config);
994-
int intel_format_to_fourcc(int format);
995994
void intel_crtc_wait_for_pending_flips(struct drm_crtc *crtc);
996995
void intel_modeset_preclose(struct drm_device *dev, struct drm_file *file);
997996

0 commit comments

Comments
 (0)