drm/i915/gvt: Convert macro queue_workload to a function
authorChangbin Du <changbin.du@intel.com>
Wed, 29 Nov 2017 07:40:06 +0000 (15:40 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 4 Dec 2017 03:24:34 +0000 (11:24 +0800)
commit59a716c6477c2a095adf274e8f76b9889af7bc7b
treee4841d5410cbe7134b1d94d968bae271238a7ea7
parent82a3b6701ab1e2cdfb64cf163fc6d1a4576329ff
drm/i915/gvt: Convert macro queue_workload to a function

Convert the macro to a function which should always be preferred.

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