Skip to content

Commit

Permalink
drm/xe: Fix xe_mocs.h
Browse files Browse the repository at this point in the history
We don't need to include <linux/types.h>.
We don't use struct xe_exec_queue here.
We should sort forward declarations.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240506205254.2659-1-michal.wajdeczko@intel.com
  • Loading branch information
Michal Wajdeczko committed May 7, 2024
1 parent 50aec96 commit 5b882c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/gpu/drm/xe/xe_mocs.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
#ifndef _XE_MOCS_H_
#define _XE_MOCS_H_

#include <linux/types.h>

struct xe_exec_queue;
struct xe_gt;
struct drm_printer;
struct xe_gt;

void xe_mocs_init_early(struct xe_gt *gt);
void xe_mocs_init(struct xe_gt *gt);
Expand Down

0 comments on commit 5b882c1

Please sign in to comment.