FreeBSD Bugzilla – Attachment 250955 Details for
Bug 279247
graphics/drm-510-kmod: kernel panic on HP/Compaq nc8430 with Radeon R520 since FBSD 13.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-drivers_gpu_drm_radeon_radeon__device.c
patch-drivers_gpu_drm_radeon_radeon__device.c (text/plain), 900 bytes, created by
Tijl Coosemans
on 2024-05-25 18:18:43 UTC
(
hide
)
Description:
patch-drivers_gpu_drm_radeon_radeon__device.c
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2024-05-25 18:18:43 UTC
Size:
900 bytes
patch
obsolete
>--- drivers/gpu/drm/radeon/radeon_device.c.orig 2023-12-17 11:50:44 UTC >+++ drivers/gpu/drm/radeon/radeon_device.c >@@ -1416,11 +1416,8 @@ int radeon_device_init(struct radeon_device *rdev, > if (rdev->family >= CHIP_BONAIRE) > radeon_doorbell_init(rdev); > >-#ifdef __linux__ >- // XXX: Don't need this, driver will fallback to MMIO >- // See: radeon_atombios_init() > /* io port mapping */ >- for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) { >+ for (i = 0; i <= PCIR_MAX_BAR_0; i++) { > if (pci_resource_flags(rdev->pdev, i) & IORESOURCE_IO) { > rdev->rio_mem_size = pci_resource_len(rdev->pdev, i); > rdev->rio_mem = pci_iomap(rdev->pdev, i, rdev->rio_mem_size); >@@ -1429,7 +1426,6 @@ int radeon_device_init(struct radeon_device *rdev, > } > if (rdev->rio_mem == NULL) > DRM_ERROR("Unable to find PCI I/O BAR\n"); >-#endif > > if (rdev->flags & RADEON_IS_PX) > radeon_device_handle_px_quirks(rdev);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279247
: 250955