OSDN Git Service

drm/i915/gvt: Add macro define for mmio 0x50080 and gvt flip event
authorColin Xu <colin.xu@intel.com>
Mon, 25 Mar 2019 01:52:15 +0000 (09:52 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 29 Mar 2019 03:09:34 +0000 (11:09 +0800)
commitaee183baaa3aadbf0d013d647b2e4cdaba66f872
tree5cb41e7fcdc3492ed60f545a9a542426fb7e0669
parent43226e6fe798b7ede55027a25f97fd73b940ce7d
drm/i915/gvt: Add macro define for mmio 0x50080 and gvt flip event

Add SKL_FLIP_EVENT to address into intel_gvt_event_type for primary
and sprite0 plane flip event.
Add macro to address REG_50080 offset.

v2:
Add bit operation definition for flip mode. (zhenyu)

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/reg.h