drm/i915: POSTING_READs are simply flushes and so irrelevant to tracing
As we use POSTING_READ to flush the write to the register before proceeding, we do not care what the return value is and similar we do not care for the read to be recorded whilst tracing register read/writes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -126,7 +126,7 @@ static void set_clock(void *data, int state_high)
|
||||
GPIO_CLOCK_VAL_MASK;
|
||||
|
||||
I915_WRITE_NOTRACE(gpio->reg, reserved | clock_bits);
|
||||
POSTING_READ_NOTRACE(gpio->reg);
|
||||
POSTING_READ(gpio->reg);
|
||||
}
|
||||
|
||||
static void set_data(void *data, int state_high)
|
||||
@@ -143,7 +143,7 @@ static void set_data(void *data, int state_high)
|
||||
GPIO_DATA_VAL_MASK;
|
||||
|
||||
I915_WRITE_NOTRACE(gpio->reg, reserved | data_bits);
|
||||
POSTING_READ_NOTRACE(gpio->reg);
|
||||
POSTING_READ(gpio->reg);
|
||||
}
|
||||
|
||||
static struct i2c_adapter *
|
||||
|
Reference in New Issue
Block a user