]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: always use readq and writeq
authorChangbin Du <changbin.du@intel.com>
Fri, 30 Dec 2016 06:10:53 +0000 (14:10 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jan 2017 03:05:56 +0000 (11:05 +0800)
commitf1033c5a14a37dbc2fc167210d5add25dbe8c39a
treedbbc31998691edd7956b4095d4af3a7290ded26a
parent022bb6019c404330af598262fe5bf5190d13ee14
drm/i915/gvt: always use readq and writeq

The readq and writeq are already offered by drm_os_linux.h. So we can
use them directly whithout dectecting their presence. This patch removed
the duplicated code.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c