diff mbox

DRM support for addressing >32 bits on 32 bit cores (Radeon DRM driver+TTM)

Message ID 8588930.oNFIB51hOc@kru (mailing list archive)
State New, archived
Headers show

Commit Message

Andrej Kruták Aug. 15, 2014, 11:46 a.m. UTC
Hello,

I was advised to send this stuff here ( 
https://bugs.freedesktop.org/show_bug.cgi?id=18154 ).

The patches are tested with a P3041 board and a TURKS radeon card. It appears 
that the radeon driver is already generic enough (so no major changes were 
needed there), fortunately.

I think esp. the TTM patch is clearly needed, but it may be incomplete...

Comments

Michel Dänzer Aug. 18, 2014, 10 a.m. UTC | #1
On 15.08.2014 20:46, Andrej Krutak wrote:
> 
> I was advised to send this stuff here ( 
> https://bugs.freedesktop.org/show_bug.cgi?id=18154 ).

Please send them as Git patches with a proper commit log. Preferably
with git send-email, but at least generated by git format-patch.

See Documentation/SubmittingPatches for more details.
diff mbox

Patch

Allow > 32-bit physical addresses for TTM bus placement.
--- linux-ppc-3.12/include/drm/ttm/ttm_bo_api.h	2014-08-05 13:47:31.082598913 +0200
+++ linux-ppc-3.12/include/drm/ttm/ttm_bo_api.h	2014-08-05 14:14:54.999755480 +0200
@@ -82,7 +82,7 @@  struct ttm_placement {
  */
 struct ttm_bus_placement {
 	void		*addr;
-	unsigned long	base;
+	resource_size_t	base;
 	unsigned long	size;
 	unsigned long	offset;
 	bool		is_iomem;