aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorVignesh R <[email protected]>2015-10-13 10:21:05 +0000
committerMark Brown <[email protected]>2015-10-16 18:08:06 +0000
commit57c2ecd9bf971946ea0c6ae90a79c90a22159c73 (patch)
treea27454ff77f3d5c5e8747d54a5f132ccb7191b47 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 4.3-rc1 (diff)
downloadkernel-57c2ecd9bf971946ea0c6ae90a79c90a22159c73.tar.gz
kernel-57c2ecd9bf971946ea0c6ae90a79c90a22159c73.zip
spi: spi-ti-qspi: switch to polling mode for better r/w performance
Currently word completion interrupt is fired for transfer of every word(8bit to 128bit in size). This adds a lot of overhead, and decreases r/w throughput. It hardly takes 3us(@48MHz) for 128bit r/w to complete, hence its better to poll on word complete bit to be set in QSPI_SPI_STATUS_REG instead of using interrupts. This increases the throughput by 30% in both read and write case. So, switch to polling mode instead of interrupts to determine completion of word transfer. Signed-off-by: Vignesh R <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions