OSDN Git Service

i915: Adjust line size limits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Jul 2014 07:33:33 +0000 (10:33 +0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:41 +0000 (21:48 +0800)
commit3c888d72f7b82edf9186b792a3ccb238647a5648
tree51829b2c6c7c17ca8a9fc80f220d820d3657237a
parent352af26ccf6369a22cd9e221cf178b19d414245c
i915: Adjust line size limits

The hardware can draw lines 0.5 to 7.5 pixels wide. Adjust the limits
to 1.0-7.0. The old limits seems to be from the era when i915 and i965
were sharing this code.

Not really sure if 1.0-7.0 is correct. Maybe it could be 0.5.7.5 as
those are the hw limits, or maybe some combination of the two?

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/drivers/dri/i915/intel_context.c