All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 90898] Provide DRM_MODE_FB_DIRTY_MAX_CLIPS in drm_mode.h
@ 2015-06-08 21:36 bugzilla-daemon
  2015-06-09  8:03 ` bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2015-06-08 21:36 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1024 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=90898

            Bug ID: 90898
           Summary: Provide DRM_MODE_FB_DIRTY_MAX_CLIPS in drm_mode.h
           Product: DRI
           Version: XOrg git
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: lampersperger.andreas@heidenhain.de

When calling drmModeDirtyFB on linux, it fails when num_clips are more than
DRM_MODE_FB_DIRTY_MAX_CLIPS (value: 256). But there is no way to check this for
xf86-video-* drivers, because when including drm_mode.h, you get the drm_mode.h
from /usr/include/libdrm/drm_mode.h and not /usr/include/drm/drm_mode.h.

Please add

#define DRM_MODE_FB_DIRTY_MAX_CLIPS 256 

to your drm_mode.h, to allow xf86-video-* drivers to check parameters before
calling drmModeDirtyFB(...).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2253 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-12 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 21:36 [Bug 90898] Provide DRM_MODE_FB_DIRTY_MAX_CLIPS in drm_mode.h bugzilla-daemon
2015-06-09  8:03 ` bugzilla-daemon
2015-06-09 13:07 ` bugzilla-daemon
2016-12-12 13:31 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.