mirror of https://gitee.com/openkylin/linux.git
drm/i915/skl: Allow the reg_read ioctl to return RCS_TIMESTAMP
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3fdcf80f75
commit
c3f59a67ad
|
@ -968,7 +968,7 @@ static const struct register_whitelist {
|
||||||
/* supported gens, 0x10 for 4, 0x30 for 4 and 5, etc. */
|
/* supported gens, 0x10 for 4, 0x30 for 4 and 5, etc. */
|
||||||
uint32_t gen_bitmask;
|
uint32_t gen_bitmask;
|
||||||
} whitelist[] = {
|
} whitelist[] = {
|
||||||
{ RING_TIMESTAMP(RENDER_RING_BASE), 8, GEN_RANGE(4, 8) },
|
{ RING_TIMESTAMP(RENDER_RING_BASE), 8, GEN_RANGE(4, 9) },
|
||||||
};
|
};
|
||||||
|
|
||||||
int i915_reg_read_ioctl(struct drm_device *dev,
|
int i915_reg_read_ioctl(struct drm_device *dev,
|
||||||
|
|
Loading…
Reference in New Issue