summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2018-03-16 16:33:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-16 15:40:18 +0100
commit15febf5eede9ff9d3180d257441e9a2fbb3f0ae6 (patch)
treeffc457cfe6cb4990ef53e215af024f0c0d4bf088 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parenta38fe33889095c5d7b1eb094d977fc3f2bab7ebd (diff)
downloadlinux-15febf5eede9ff9d3180d257441e9a2fbb3f0ae6.tar.bz2
xhci: refactor xhci_urb_enqueue a bit with minor changes
make the local ep_state variable a pointer to the actual ring ep_state. This allows us to read fresh ep_state values every time, will be useful later. Also move the streams check out from bulk only case. Even if only bulk tranfers can use streams we shouldn't continue if those flags are set. Main reason for this change is really code readability and grouping functionality Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions