Displaying 20 results from an estimated 635 matches for "bpp".
Did you mean:
bp
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...gt;
>>>> I had missed the discussion, and, indeed, the patch you attached
>>>> fixes the problem on Xilinx.
>>>
>>> Great. Thanks for testing.
>>>
>>>>
>>>>> ioctl is unsuited for anything but the simple RGB formats. The bpp
>>>>
>>>> It's a bit difficult to use, but is it really unsuited?
>>>> bitsperpixel, width and height do give an exact pitch and size, do
>>>> they not? It does require the userspace to handle the subsampling
>>>> and planes, thoug...
2019 Aug 26
1
[PATCH v8 1/6] drm/dp_mst: Add PBN calculation for DSC modes
With DSC, bpp can be fractional in multiples of 1/16.
Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel
v2: Don't add separate function for this
Cc: amd-gfx a...
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...;> CREATE_DUMB
>>>
>>> I had missed the discussion, and, indeed, the patch you attached
>>> fixes the problem on Xilinx.
>>
>> Great. Thanks for testing.
>>
>>>
>>>> ioctl is unsuited for anything but the simple RGB formats. The bpp
>>>
>>> It's a bit difficult to use, but is it really unsuited?
>>> bitsperpixel, width and height do give an exact pitch and size, do
>>> they not? It does require the userspace to handle the subsampling
>>> and planes, though, so far from perfe...
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi
Am 15.01.25 um 14:33 schrieb Tomi Valkeinen:
[...]
>> Yeah, there are constrains in the scanline and buffer alignments and
>> orientation. And if we say that bpp==12 means NV12, it will be a
>> problem for all other cases where bpp==12 makes sense.
>
> I feel I still don't quite understand. Can't we define and document
> CREATE_DUMB like this:
>
> If (bpp < 8 || is_power_of_two(bpp))
> ????bpp means bitsperpixel
> ???...
2019 Aug 26
0
[PATCH v7 1/6] drm/dp_mst: Add PBN calculation for DSC modes
With DSC, bpp can be fractional in multiples of 1/16.
Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel
v2: Don't add separate function for this
Cc: amd-gfx a...
2019 Aug 26
0
[PATCH v6 1/6] drm/dp_mst: Add PBN calculation for DSC modes
With DSC, bpp can be fractional in multiples of 1/16.
Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel
v2: Don't add separate function for this
Cc: amd-gfx a...
2019 Aug 27
0
[PATCH v9 1/6] drm/dp_mst: Add PBN calculation for DSC modes
With DSC, bpp can be fractional in multiples of 1/16.
Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel
v2: Don't add separate function for this
Cc: amd-gfx a...
2019 Sep 18
0
[PATCH 04/15] drm/dp_mst: Add PBN calculation for DSC modes
From: David Francis <David.Francis at amd.com>
With DSC, bpp can be fractional in multiples of 1/16.
Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel
v2: Don't add separate function for this
Change-Id: I3...
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...you have. The current
>>> CREATE_DUMB
>>
>> I had missed the discussion, and, indeed, the patch you attached fixes
>> the problem on Xilinx.
>
> Great. Thanks for testing.
>
>>
>>> ioctl is unsuited for anything but the simple RGB formats. The bpp
>>
>> It's a bit difficult to use, but is it really unsuited? bitsperpixel,
>> width and height do give an exact pitch and size, do they not? It does
>> require the userspace to handle the subsampling and planes, though, so
>> far from perfect.
>
> The b...
2009 Nov 23
2
[PATCH 1/3] drm/nouveau: Update the CRTC arbitration parameters on FB depth switch.
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
drivers/gpu/drm/nouveau/nv04_crtc.c | 37 +++++++++++++++++++++-------------
1 files changed, 23 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/nv04_crtc.c
index 2ab9f30..0a5cfc1 100644
--- a/drivers/gpu/drm/nouveau/nv04_crtc.c
+++ b/drivers/gpu/drm/nouveau/nv04_crtc.c
2019 Sep 23
1
[PATCH 13/36] drm/nouveau: use bpp instead of cpp for drm_format_info
cpp[BytePerPlane] can't describe the 10bit data format correctly,
So we use bpp[BitPerPlane] to instead cpp.
Signed-off-by: Sandy Huang <hjc at rock-chips.com>
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 7 ++++---
drivers/gpu/drm/nouveau/dispnv50/base507c.c | 4 ++--
drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 2 +-
3 files changed, 7 insertions(+), 6 deletion...
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...2? I think it resolves all the points you have. The current
>> CREATE_DUMB
>
> I had missed the discussion, and, indeed, the patch you attached fixes
> the problem on Xilinx.
Great. Thanks for testing.
>
>> ioctl is unsuited for anything but the simple RGB formats. The bpp
>
> It's a bit difficult to use, but is it really unsuited? bitsperpixel,
> width and height do give an exact pitch and size, do they not? It does
> require the userspace to handle the subsampling and planes, though, so
> far from perfect.
The bpp value sets the number of bi...
2019 Jun 27
0
[PATCH v3 4/5] drm/bochs: drop stride and bpp from struct bochs_device
...2 deletions(-)
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h
index 5c90b76708ef..4081b3aba28d 100644
--- a/drivers/gpu/drm/bochs/bochs.h
+++ b/drivers/gpu/drm/bochs/bochs.h
@@ -64,8 +64,6 @@ struct bochs_device {
/* mode */
u16 xres;
u16 yres;
- u32 stride;
- u32 bpp;
struct edid *edid;
/* drm */
diff --git a/drivers/gpu/drm/bochs/bochs_hw.c b/drivers/gpu/drm/bochs/bochs_hw.c
index 9ab6ec269ef9..178715c6755d 100644
--- a/drivers/gpu/drm/bochs/bochs_hw.c
+++ b/drivers/gpu/drm/bochs/bochs_hw.c
@@ -205,16 +205,14 @@ void bochs_hw_setmode(struct bochs_device...
2019 Sep 23
0
[PATCH 13/36] drm/nouveau: use bpp instead of cpp for drm_format_info
On Mon, Sep 23, 2019 at 8:56 AM Sandy Huang <hjc at rock-chips.com> wrote:
>
> cpp[BytePerPlane] can't describe the 10bit data format correctly,
> So we use bpp[BitPerPlane] to instead cpp.
>
> Signed-off-by: Sandy Huang <hjc at rock-chips.com>
> ---
> drivers/gpu/drm/nouveau/dispnv04/crtc.c | 7 ++++---
> drivers/gpu/drm/nouveau/dispnv50/base507c.c | 4 ++--
> drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 2 +-
> 3 files ch...
2004 Oct 30
1
Myst - config [x11drv] section documentation anywhere?
...ge:
myst@flash myst $ wine .wine/drive_c/Program\ Files/Myst/myst.exe
Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
to set the screen resolution and remove the "Resolution" entry in the
config file
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode...
2025 Jan 15
2
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
On 15/01/2025 15:45, Thomas Zimmermann wrote:
> Hi
>
>
> Am 15.01.25 um 14:33 schrieb Tomi Valkeinen:
> [...]
>>> Yeah, there are constrains in the scanline and buffer alignments and
>>> orientation. And if we say that bpp==12 means NV12, it will be a
>>> problem for all other cases where bpp==12 makes sense.
>>
>> I feel I still don't quite understand. Can't we define and document
>> CREATE_DUMB like this:
>>
>> If (bpp < 8 || is_power_of_two(bpp))
>> ????bpp...
2019 Jun 27
2
[PATCH v2] drm/bochs: fix framebuffer setup.
The driver doesn't consider framebuffer pitch and offset, leading to a
wrong display in case offset != 0 or pitch != width * bpp. Fix it.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
drivers/gpu/drm/bochs/bochs.h | 2 +-
drivers/gpu/drm/bochs/bochs_hw.c | 14 ++++++++++----
drivers/gpu/drm/bochs/bochs_kms.c | 3 ++-
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/boc...
2005 Nov 05
2
problem with the assignment function
...pair", which calls a .C function. I cannot assign its value to a
variable using either "=" nor "<-". After I did the assignment,
"rhopair" cannot reproduce the same result as before with the same
argument. Here is the code and results:
> rhopair(x=SNP,bp=bpp[1:700],A=93,B=BB)
[1] 0.1012352
> rhopair(x=SNP,bp=bpp[1:700],A=93,B=BB)
[1] 0.1012352
> a=rhopair(x=SNP,bp=bpp[1:700],A=93,B=BB)
> a
[1] 0.004524671
> rhopair(x=SNP,bp=bpp[1:700],A=93,B=BB)
[1] 5.241946e-06
> a=rhopair(x=SNP,bp=bpp[1:700],A=93,B=BB)
> a
[1] 0.004524671...
2007 Mar 19
3
Settlers 4 - Cannot enable hardware accaleration
...try to enable hardware accaleration I get:
xxx@neo:~/.wine/drive_c/BlueByte/Die Siedler IV$
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x12
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel
(0x125d800)->(0x20024,00000011)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from
32 to 16
xxx@neo:~/.wine/drive_c/BlueByte/Die Siedler IV$
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x125d80
0)->(0x20024,00000011)
fixme:d3d_surface:IWineGDISurfaceImpl_Blt Can't handle DDBLT_ASYNC flag
right now.
err:wave:DSDB_MapBuffer Could not map sound device for dire...
2025 Jan 15
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...nqmp_dpsub_dumb_create(struct
>>> drm_file *file_priv,
>>> ????????????????????? struct drm_mode_create_dumb *args)
>>> ? {
>>> ????? struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm);
>>> -??? unsigned int pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
>>> +??? int ret;
>>> ? ????? /* Enforce the alignment constraints of the DMA engine. */
>>> -??? args->pitch = ALIGN(pitch, dpsub->dma_align);
>>> +??? ret = drm_mode_size_dumb(drm, args, dpsub->dma_align, 0);
>>> +??? if (ret)
>>>...