search for: drm_agp_info

Displaying 9 results from an estimated 9 matches for "drm_agp_info".

2013 Oct 27
3
[PATCH] drm/nouveau/agp: add a quirk list to limit agp modes
...st[] = { + /* VIA Apollo PRO133x / GeForce FX 5600 Ultra, max agpmode 2, fdo #20341 */ + { PCI_VENDOR_ID_VIA, 0x0691, PCI_VENDOR_ID_NVIDIA, 0x0311, 2 }, + + {}, +}; + static unsigned long -get_agp_mode(struct nouveau_drm *drm, unsigned long mode) +get_agp_mode(struct nouveau_drm *drm, const struct drm_agp_info *info) { struct nouveau_device *device = nv_device(drm->device); + struct nouveau_agpmode_quirk *quirk = nouveau_agpmode_quirk_list; + int agpmode = nouveau_agpmode; + unsigned long mode = info->mode; /* * FW seems to be broken on nv18, it makes the card lock up @@ -24,11 +42,27 @@...
2013 Oct 28
0
[PATCH] drm/nouveau/agp: add a quirk list to limit agp modes
...e FX 5600 Ultra, max agpmode 2, fdo #20341 */ > + { PCI_VENDOR_ID_VIA, 0x0691, PCI_VENDOR_ID_NVIDIA, 0x0311, 2 }, > + > + {}, > +}; > + > static unsigned long > -get_agp_mode(struct nouveau_drm *drm, unsigned long mode) > +get_agp_mode(struct nouveau_drm *drm, const struct drm_agp_info *info) > { > struct nouveau_device *device = nv_device(drm->device); > + struct nouveau_agpmode_quirk *quirk = nouveau_agpmode_quirk_list; > + int agpmode = nouveau_agpmode; > + unsigned long mode = info->mode; > > /* > * FW seems to be broken on nv18, it m...
2020 May 13
1
[PATCH 2/2] drm/ttm: deprecate AGP support
...mode_quirk radeon_agpmode_quirk_list[] = { > > int radeon_agp_init(struct radeon_device *rdev) > { > -#if IS_ENABLED(CONFIG_AGP) > +#if IS_ENABLED(CONFIG_DRM_TTM_AGP) > struct radeon_agpmode_quirk *p = radeon_agpmode_quirk_list; > struct drm_agp_mode mode; > struct drm_agp_info info; > @@ -265,7 +265,7 @@ int radeon_agp_init(struct radeon_device *rdev) > > void radeon_agp_resume(struct radeon_device *rdev) > { > -#if IS_ENABLED(CONFIG_AGP) > +#if IS_ENABLED(CONFIG_DRM_TTM_AGP) > int r; > if (rdev->flags & RADEON_IS_AGP) { > r =...
2020 May 13
0
[PATCH 2/2] drm/ttm: deprecate AGP support
...131,7 +131,7 @@ static struct radeon_agpmode_quirk radeon_agpmode_quirk_list[] = { int radeon_agp_init(struct radeon_device *rdev) { -#if IS_ENABLED(CONFIG_AGP) +#if IS_ENABLED(CONFIG_DRM_TTM_AGP) struct radeon_agpmode_quirk *p = radeon_agpmode_quirk_list; struct drm_agp_mode mode; struct drm_agp_info info; @@ -265,7 +265,7 @@ int radeon_agp_init(struct radeon_device *rdev) void radeon_agp_resume(struct radeon_device *rdev) { -#if IS_ENABLED(CONFIG_AGP) +#if IS_ENABLED(CONFIG_DRM_TTM_AGP) int r; if (rdev->flags & RADEON_IS_AGP) { r = radeon_agp_init(rdev); @@ -277,7 +277,7 @@ v...
2020 May 12
1
[PATCH 1/3] drm/radeon: remove AGP support
...I_VENDOR_ID_SONY, 0x8175, 1}, > - { 0, 0, 0, 0, 0, 0, 0 }, > -}; > -#endif > - > -int radeon_agp_init(struct radeon_device *rdev) > -{ > -#if IS_ENABLED(CONFIG_AGP) > - struct radeon_agpmode_quirk *p = radeon_agpmode_quirk_list; > - struct drm_agp_mode mode; > - struct drm_agp_info info; > - uint32_t agp_status; > - int default_mode; > - bool is_v3; > - int ret; > - > - /* Acquire AGP. */ > - ret = drm_agp_acquire(rdev->ddev); > - if (ret) { > - DRM_ERROR("Unable to acquire AGP: %d\n", ret); > - return ret; > - } > - > - r...
2020 May 11
0
[PATCH 1/3] drm/radeon: remove AGP support
...R_ID_ATI, 0xcbb2, PCI_VENDOR_ID_ATI, 0x5c61, - PCI_VENDOR_ID_SONY, 0x8175, 1}, - { 0, 0, 0, 0, 0, 0, 0 }, -}; -#endif - -int radeon_agp_init(struct radeon_device *rdev) -{ -#if IS_ENABLED(CONFIG_AGP) - struct radeon_agpmode_quirk *p = radeon_agpmode_quirk_list; - struct drm_agp_mode mode; - struct drm_agp_info info; - uint32_t agp_status; - int default_mode; - bool is_v3; - int ret; - - /* Acquire AGP. */ - ret = drm_agp_acquire(rdev->ddev); - if (ret) { - DRM_ERROR("Unable to acquire AGP: %d\n", ret); - return ret; - } - - ret = drm_agp_info(rdev->ddev, &info); - if (ret) { - drm_...
2020 May 13
8
[RFC] Deprecate AGP GART support for Radeon/Nouveau/TTM
Unfortunately AGP is still to widely used as we could just drop support for using its GART. Not using the AGP GART also doesn't mean a loss in functionality since drivers will just fallback to the driver specific PCI GART. For now just deprecate the code and don't enable the AGP GART in TTM even when general AGP support is available. Please comment, Christian.
2020 May 11
2
[PATCH 1/3] drm/radeon: remove AGP support
..., 1}, > - { 0, 0, 0, 0, 0, 0, 0 }, > -}; > -#endif > - > -int radeon_agp_init(struct radeon_device *rdev) > -{ > -#if IS_ENABLED(CONFIG_AGP) > - struct radeon_agpmode_quirk *p = radeon_agpmode_quirk_list; > - struct drm_agp_mode mode; > - struct drm_agp_info info; > - uint32_t agp_status; > - int default_mode; > - bool is_v3; > - int ret; > - > - /* Acquire AGP. */ > - ret = drm_agp_acquire(rdev->ddev); > - if (ret) { > - DRM_ERROR("Unable to acquire AGP: %d\n&qu...
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