Re: [PATCH v4] drm: Fix downstream dev count read

2018-04-05 Thread Rodrigo Vivi
On Thu, Apr 05, 2018 at 04:04:14AM +0530, Ramalingam C wrote: > > > On Thursday 05 April 2018 12:53 AM, Sean Paul wrote: > > On Wed, Apr 04, 2018 at 12:07:41PM -0700, Rodrigo Vivi wrote: > > > On Wed, Apr 04, 2018 at 11:57:42PM +0530, Ramalingam C wrote: > > > > In both HDMI and DP, device count

Re: [PATCH v4] drm: Fix downstream dev count read

2018-04-04 Thread Ramalingam C
On Thursday 05 April 2018 12:53 AM, Sean Paul wrote: On Wed, Apr 04, 2018 at 12:07:41PM -0700, Rodrigo Vivi wrote: On Wed, Apr 04, 2018 at 11:57:42PM +0530, Ramalingam C wrote: In both HDMI and DP, device count is represented by 6:0 bits of a register(BInfo/Bstatus) So macro for bitmasking

Re: [PATCH v4] drm: Fix downstream dev count read

2018-04-04 Thread Sean Paul
On Wed, Apr 04, 2018 at 12:07:41PM -0700, Rodrigo Vivi wrote: > On Wed, Apr 04, 2018 at 11:57:42PM +0530, Ramalingam C wrote: > > In both HDMI and DP, device count is represented by 6:0 bits of a > > register(BInfo/Bstatus) > > > > So macro for bitmasking the device_count is fixed(0x3F->0x7F). >

Re: [PATCH v4] drm: Fix downstream dev count read

2018-04-04 Thread Rodrigo Vivi
On Wed, Apr 04, 2018 at 11:57:42PM +0530, Ramalingam C wrote: > In both HDMI and DP, device count is represented by 6:0 bits of a > register(BInfo/Bstatus) > > So macro for bitmasking the device_count is fixed(0x3F->0x7F). > > v3: > Retained the Rb-ed. > v4: > %s/drm\/i915/drm [rodrigo] >

[PATCH v4] drm: Fix downstream dev count read

2018-04-04 Thread Ramalingam C
In both HDMI and DP, device count is represented by 6:0 bits of a register(BInfo/Bstatus) So macro for bitmasking the device_count is fixed(0x3F->0x7F). v3: Retained the Rb-ed. v4: %s/drm\/i915/drm [rodrigo] Signed-off-by: Ramalingam C cc: Sean Paul