Message ID | 20250225-memory-drm-misc-next-v1-12-9d0e8761107a@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | drm: Move to using devm_platform_ioremap_resource | expand |
Am 25.02.25 um 23:20 schrieb Anusha Srivatsa: > Update the Documentation to be more precise. > > v2: Update for clarity > v3: Further details in Todo > > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Signed-off-by: Anusha Srivatsa <asrivats@redhat.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Thanks for the update. > --- > Documentation/gpu/todo.rst | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst > index 256d0d1cb2164bd94f9b610a751b907834d96a21..c57777a24e03d91b1ffe04365f7356f2d938befd 100644 > --- a/Documentation/gpu/todo.rst > +++ b/Documentation/gpu/todo.rst > @@ -441,14 +441,15 @@ Contact: Thomas Zimmermann <tzimmermann@suse.de> > > Level: Intermediate > > -Request memory regions in all drivers > -------------------------------------- > +Request memory regions in all fbdev drivers > +-------------------------------------------- > > -Go through all drivers and add code to request the memory regions that the > -driver uses. This requires adding calls to request_mem_region(), > +Old/ancient fbdev drivers do not request their memory properly. > +Go through these drivers and add code to request the memory regions > +that the driver uses. This requires adding calls to request_mem_region(), > pci_request_region() or similar functions. Use helpers for managed cleanup > -where possible. > - > +where possible. Problematic areas include hardware that has exclusive ranges > +like VGA. VGA16fb does not request the range as it is expected. > Drivers are pretty bad at doing this and there used to be conflicts among > DRM and fbdev drivers. Still, it's the correct thing to do. > >
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 256d0d1cb2164bd94f9b610a751b907834d96a21..c57777a24e03d91b1ffe04365f7356f2d938befd 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -441,14 +441,15 @@ Contact: Thomas Zimmermann <tzimmermann@suse.de> Level: Intermediate -Request memory regions in all drivers -------------------------------------- +Request memory regions in all fbdev drivers +-------------------------------------------- -Go through all drivers and add code to request the memory regions that the -driver uses. This requires adding calls to request_mem_region(), +Old/ancient fbdev drivers do not request their memory properly. +Go through these drivers and add code to request the memory regions +that the driver uses. This requires adding calls to request_mem_region(), pci_request_region() or similar functions. Use helpers for managed cleanup -where possible. - +where possible. Problematic areas include hardware that has exclusive ranges +like VGA. VGA16fb does not request the range as it is expected. Drivers are pretty bad at doing this and there used to be conflicts among DRM and fbdev drivers. Still, it's the correct thing to do.
Update the Documentation to be more precise. v2: Update for clarity v3: Further details in Todo Cc: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Anusha Srivatsa <asrivats@redhat.com> --- Documentation/gpu/todo.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)