Skip to content

Commit ce2d822

Browse files
committed
increase size of available planes bitset
1 parent 96bedaf commit ce2d822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modesetting.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct kms_req_builder {
7070
struct drm_connector *connector;
7171
struct drm_crtc *crtc;
7272

73-
BITSET_DECLARE(available_planes, 32);
73+
BITSET_DECLARE(available_planes, 128);
7474
drmModeAtomicReq *req;
7575
int64_t next_zpos;
7676

@@ -82,7 +82,7 @@ struct kms_req_builder {
8282
drmModeModeInfo mode;
8383
};
8484

85-
COMPILE_ASSERT(BITSET_SIZE(((struct kms_req_builder *) 0)->available_planes) == 32);
85+
COMPILE_ASSERT(BITSET_SIZE(((struct kms_req_builder *) 0)->available_planes) == 128);
8686

8787
struct drmdev {
8888
int fd;

0 commit comments

Comments
 (0)