Re: [Intel-gfx] [PATCH 1/2] drm/i915: Detect eDRAM with the enabled bit only

2015-02-11 Thread Daniel Vetter
On Wed, Feb 11, 2015 at 01:27:14PM -0200, Paulo Zanoni wrote: > 2015-02-03 12:25 GMT-02:00 Damien Lespiau : > > At the moment we compare the whole EDRAM_PRESENT/EDRAMCAP register value > > to 1 while EDRAM_PRESENT is only bit 0 (the rest may be used to describe > > eDRAM capabilities). > > > > To b

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Detect eDRAM with the enabled bit only

2015-02-11 Thread Paulo Zanoni
2015-02-03 12:25 GMT-02:00 Damien Lespiau : > At the moment we compare the whole EDRAM_PRESENT/EDRAMCAP register value > to 1 while EDRAM_PRESENT is only bit 0 (the rest may be used to describe > eDRAM capabilities). > > To be more future proof, only look at bit 0 to detect eDRAM presence. > > Sign

[Intel-gfx] [PATCH 1/2] drm/i915: Detect eDRAM with the enabled bit only

2015-02-03 Thread Damien Lespiau
At the moment we compare the whole EDRAM_PRESENT/EDRAMCAP register value to 1 while EDRAM_PRESENT is only bit 0 (the rest may be used to describe eDRAM capabilities). To be more future proof, only look at bit 0 to detect eDRAM presence. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/i91