Re: [PATCH] drm/radeon/kms/blit: fix blit copy for very large buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, 2 Feb 2012, Michel [ISO-8859-1] D�er wrote:


+#define I2F_MAX_BITS 15
+#define I2F_MAX_INPUT  ((2 << I2F_MAX_BITS) - 1)

Should be ((1 << I2F_MAX_BITS) - 1): 2^n == (1 << n)


Right. I'll fix it.

Use WARN_ON_ONCE here to avoid spamming the kernel output. If this is
ever hit again, it won't happen just once.



I agree. v2 coming shortly.

-- Ilija
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux