> -----Original Message----- > From: Kamal Mostafa [mailto:kamal@xxxxxxxxxxxxx] > Sent: Thursday, September 19, 2013 4:35 PM > To: Stellard, Thomas; Deucher, Alexander > Cc: stable@xxxxxxxxxxxxxxx > Subject: 3.8 backport of "drm/radeon/si: Add support for CP DMA to CS > checker for compute v2" > > Hi Tom and Alex, > > It looks like you specifically want this to be applied to 3.8-stable: > > commit e5b9e7503eb1f4884efa3b321d3cc47806779202 > Author: Tom Stellard <thomas.stellard@xxxxxxx> > Date: Fri Aug 16 17:47:39 2013 -0400 > > drm/radeon/si: Add support for CP DMA to CS checker for compute v2 > > +++ b/include/uapi/drm/radeon_drm.h > @@ -979,6 +979,8 @@ struct drm_radeon_cs { > > +/* query if CP DMA is supported on the compute ring */ > +#define RADEON_INFO_SI_CP_DMA_COMPUTE 0x17 > > > But it doesn't apply cleanly to 3.8-stable[1] because the nearby defines > and code for these other features are not present in 3.8: > > /* fast fb access is enabled */ > #define RADEON_INFO_FASTFB_WORKING 0x14 > /* query if a RADEON_CS_RING_* submission is supported */ > #define RADEON_INFO_RING_WORKING 0x15 > /* SI tile mode array */ > #define RADEON_INFO_SI_TILE_MODE_ARRAY 0x16 > > It looks like it would be no trouble for me to backport just the new > SI_CP_DMA_COMPUTE bits (I could just ignore the context diff there). > Would that be reasonable, or do I need to also pick up any/all of those > other three RADEON_INFO features for your CP DMA support to work in 3.8? > Yes, that should be fine. Thanks! Alex > Thanks, > > -Kamal > > [0] > http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/l > inux-3.8.y ��.n��������+%������w��{.n�����������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f