Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915



Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 11:10:56 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915: i915_sw_fence.h
        src/sys/external/bsd/drm2/dist/drm/i915/gem: i915_gem_object.h

Log Message:
Switch #ifdef CONFIG_WHATEVER to #if IS_ENABLED(CONFIG_WHATEVER)

Our IS_ENABLED should probably be #if defined(option) && (option),
but that becomes tricky with evaluation order. If option gets
expanded earlier, this errors out (e.g. with CONFIG_AGP)

Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/drm2/dist/drm/i915/i915_sw_fence.h
cvs rdiff -u -r1.3 -r1.4 \
    src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_object.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index