mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
eeec73f8a4
A masked register does not need rmw to update, and it is best not to use such a sequence. Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200131235035.3522102-1-chris@chris-wilson.co.uk
29 lines
467 B
C
29 lines
467 B
C
/*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright © 2014-2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_WORKAROUNDS_TYPES_H__
|
|
#define __INTEL_WORKAROUNDS_TYPES_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "i915_reg.h"
|
|
|
|
struct i915_wa {
|
|
i915_reg_t reg;
|
|
u32 clr;
|
|
u32 set;
|
|
u32 read;
|
|
};
|
|
|
|
struct i915_wa_list {
|
|
const char *name;
|
|
const char *engine_name;
|
|
struct i915_wa *list;
|
|
unsigned int count;
|
|
unsigned int wa_count;
|
|
};
|
|
|
|
#endif /* __INTEL_WORKAROUNDS_TYPES_H__ */
|