Displaying 6 results from an estimated 6 matches for "drm_agp_en".
Did you mean:
drm_agp_mem
2013 Oct 27
3
[PATCH] drm/nouveau/agp: add a quirk list to limit agp modes
...4 : agpmode;
mode = (mode & ~0x7) | (rate & 0x7);
}
@@ -90,7 +124,7 @@ nouveau_agp_reset(struct nouveau_drm *drm)
if (ret)
return;
- mode.mode = get_agp_mode(drm, info.mode);
+ mode.mode = get_agp_mode(drm, &info);
mode.mode &= ~PCI_AGP_COMMAND_FW;
ret = drm_agp_enable(dev, mode);
@@ -139,7 +173,7 @@ nouveau_agp_init(struct nouveau_drm *drm)
}
/* see agp.h for the AGPSTAT_* modes available */
- mode.mode = get_agp_mode(drm, info.mode);
+ mode.mode = get_agp_mode(drm, &info);
ret = drm_agp_enable(dev, mode);
if (ret) {
--
1.8.1.5
2013 Oct 28
0
[PATCH] drm/nouveau/agp: add a quirk list to limit agp modes
...& 0x7);
> }
> @@ -90,7 +124,7 @@ nouveau_agp_reset(struct nouveau_drm *drm)
> if (ret)
> return;
>
> - mode.mode = get_agp_mode(drm, info.mode);
> + mode.mode = get_agp_mode(drm, &info);
> mode.mode &= ~PCI_AGP_COMMAND_FW;
>
> ret = drm_agp_enable(dev, mode);
> @@ -139,7 +173,7 @@ nouveau_agp_init(struct nouveau_drm *drm)
> }
>
> /* see agp.h for the AGPSTAT_* modes available */
> - mode.mode = get_agp_mode(drm, info.mode);
> + mode.mode = get_agp_mode(drm, &info);
>
> ret = drm_agp_enable(dev, mode);...
2020 May 12
1
[PATCH 1/3] drm/radeon: remove AGP support
...DEON_AGP_4X_MODE;
> - break;
> - case 2:
> - mode.mode |= RADEON_AGP_2X_MODE;
> - break;
> - case 1:
> - default:
> - mode.mode |= RADEON_AGP_1X_MODE;
> - break;
> - }
> - }
> -
> - mode.mode &= ~RADEON_AGP_FW_MODE; /* disable fw */
> - ret = drm_agp_enable(rdev->ddev, mode);
> - if (ret) {
> - DRM_ERROR("Unable to enable AGP (mode = 0x%lx)\n", mode.mode);
> - drm_agp_release(rdev->ddev);
> - return ret;
> - }
> -
> - rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base;
The field agp_base se...
2020 May 11
0
[PATCH 1/3] drm/radeon: remove AGP support
...lse {
- switch (radeon_agpmode) {
- case 4:
- mode.mode |= RADEON_AGP_4X_MODE;
- break;
- case 2:
- mode.mode |= RADEON_AGP_2X_MODE;
- break;
- case 1:
- default:
- mode.mode |= RADEON_AGP_1X_MODE;
- break;
- }
- }
-
- mode.mode &= ~RADEON_AGP_FW_MODE; /* disable fw */
- ret = drm_agp_enable(rdev->ddev, mode);
- if (ret) {
- DRM_ERROR("Unable to enable AGP (mode = 0x%lx)\n", mode.mode);
- drm_agp_release(rdev->ddev);
- return ret;
- }
-
- rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base;
- rdev->mc.gtt_size = rdev->ddev->agp->agp_in...
2020 May 11
2
[PATCH 1/3] drm/radeon: remove AGP support
...break;
> - case 1:
> - default:
> - mode.mode |= RADEON_AGP_1X_MODE;
> - break;
> - }
> - }
> -
> - mode.mode &= ~RADEON_AGP_FW_MODE; /* disable fw */
> - ret = drm_agp_enable(rdev->ddev, mode);
> - if (ret) {
> - DRM_ERROR("Unable to enable AGP (mode = 0x%lx)\n", mode.mode);
> - drm_agp_release(rdev->ddev);
> - return ret;
> - }
> -
> - rdev->mc.agp_base = rdev->dd...
2020 May 11
10
[RFC] Remove AGP support from Radeon/Nouveau/TTM
Hi guys,
Well let's face it AGP is a total headache to maintain and dead for at least 10+ years.
We have a lot of x86 specific stuff in the architecture independent graphics memory management to get the caching right, abusing the DMA API on multiple occasions, need to distinct between AGP and driver specific page tables etc etc...
So the idea here is to just go ahead and remove the support