commit | 05f9467e70ed7c9cd19fd3d42346941cdc03eef3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jan 05 09:01:08 2019 +0100 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Tue Jan 29 12:30:24 2019 +0100 |
tree | 455502d8cdcaf2e929fbbfc7d7f61b4d3554c2b4 | |
parent | 2b3cd6249b14e25da14f13cd520eb336230a4422 [diff] |
drm/vmwgfx: unwind spaghetti code in vmw_dma_select_mode Just use a simple if/else chain to select the DMA mode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>