[PATCH v2] drm/gk20a: add BAR instance

2014-06-28 Thread Ben Skeggs
On Sat, Jun 28, 2014 at 11:41 AM, Ken Adams wrote: > > On 6/27/14 8:56 PM, "Ben Skeggs" wrote: > >>On Sat, Jun 28, 2014 at 4:51 AM, Ken Adams wrote: >>> quick note re: tegra and gpu bars... >>> >>> to this point we've explicitly avoided providing user-mode mappings due >>>to >>> power management

[PATCH v2] drm/gk20a: add BAR instance

2014-06-28 Thread Ben Skeggs
On Sat, Jun 28, 2014 at 4:51 AM, Ken Adams wrote: > quick note re: tegra and gpu bars... > > to this point we've explicitly avoided providing user-mode mappings due to > power management issues, etc. > looks to me like this would allow such mappings. is that the case? are > there any paths which

[PATCH v2] drm/gk20a: add BAR instance

2014-06-27 Thread Alexandre Courbot
GK20A's BAR is functionally identical to NVC0's, but do not support being ioremapped write-combined. Create a BAR instance for GK20A that reflect that state. Signed-off-by: Alexandre Courbot --- Changes since v1: - Fix compilation warning due to missing cast Patch 1 of the series was ok and thus

[PATCH v2] drm/gk20a: add BAR instance

2014-06-27 Thread Ken Adams
On 6/27/14 8:56 PM, "Ben Skeggs" wrote: >On Sat, Jun 28, 2014 at 4:51 AM, Ken Adams wrote: >> quick note re: tegra and gpu bars... >> >> to this point we've explicitly avoided providing user-mode mappings due >>to >> power management issues, etc. >> looks to me like this would allow such mappin

[PATCH v2] drm/gk20a: add BAR instance

2014-06-27 Thread Ken Adams
quick note re: tegra and gpu bars... to this point we've explicitly avoided providing user-mode mappings due to power management issues, etc. looks to me like this would allow such mappings. is that the case? are there any paths which would require such mappings to function properly? thanks ---