Skip to content
Commit 20a2bcde authored by Xiong Zhang's avatar Xiong Zhang Committed by Zhi Wang
Browse files

drm/i915/gvt: Extract mmio_read_from_hw() common function



The mmio read handler for ring timestmap / instdone register are same
as reading hw value directly.

Extract it as common function to reduce code duplications.

Signed-off-by: default avatarXiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: default avatarZhi Wang <zhi.a.wang@intel.com>
parent edee7ecd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment